Skip to content

Commit

Permalink
update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
andersonba committed Jan 26, 2024
1 parent 6ba9e72 commit 5f902e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ if ! [ -x "$(command -v json)" ]; then
exit 1
fi

if ! [ -x "$(command -v github_changelog_generator)" ]; then
echo 'Error: github_changelog_generator is not installed. Run: gem install github_changelog_generator' >&2
exit 1
fi

current_version=$(cat package.json |json version)
next_version=$(semver "$current_version" -i "$1")
dialog --title "Do you release?" --yesno "Current version: $current_version\n\nNext version: $next_version" 0 0
Expand Down

0 comments on commit 5f902e9

Please sign in to comment.