Skip to content

Commit

Permalink
Technical/Fix releasing script (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
bestwebua authored Nov 30, 2022
1 parent 6f9afe0 commit 263987d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .circleci/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ FILE_NAME="gh"
BUILD_ARCHITECTURE="linux_amd64.deb"
DELIMETER="_"
PACKAGE_FILE="$FILE_NAME$DELIMETER$BUILD_ARCHITECTURE"
PUBLISHER_EMAIL="[email protected]"
PUBLISHER_NAME="Vladislav Trotsenko"

gh_cli_latest_release() {
curl -sL -o /dev/null -w %{url_effective} "$RELEASES_URL/latest" | rev | cut -f1 -d'/'| rev
Expand Down Expand Up @@ -39,8 +41,8 @@ release_to_rubygems() {
echo "Setting RubyGems publisher credentials..."
./.circleci/scripts/set_publisher_credentials.sh
echo "Preparation for release..."
git config --global user.email "${PUBLISHER_EMAIL}"
git config --global user.name "${PUBLISHER_NAME}"
git config --global user.email ${PUBLISHER_EMAIL}
git config --global user.name ${PUBLISHER_NAME}
git stash
git checkout develop
gem install yard gem-ctags
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.5.11] - 2022-11-30

### Fixed

- Fixed releasing script (publisher git details)

## [1.5.10] - 2022-11-30

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion lib/dns_mock/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module DnsMock
VERSION = '1.5.10'
VERSION = '1.5.11'
end

0 comments on commit 263987d

Please sign in to comment.