Skip to content

Commit

Permalink
Update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
oowekyala committed Jun 23, 2023
1 parent e61712c commit 57e0606
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions do-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
set -e


git checkout master -q
git checkout main -q

CHANGELOG_LOCATION="changelog.html"

Expand All @@ -17,7 +17,7 @@ function incr_ver_num() {

release_version=$(./gradlew properties -q --console=plain | grep "version:" | awk '{print $2}')

echo "Preparing release for version $release_version, from branch master..."
echo "Preparing release for version $release_version, from branch main..."

read -p "Enter the name of the release tag (default v$release_version): " tagname

Expand All @@ -38,7 +38,7 @@ echo "Publishing plugin to repository..."

echo "Pushing objects..."

git push origin master
git push origin main
git push --tags

default_nr=$(incr_ver_num "$release_version")
Expand Down

0 comments on commit 57e0606

Please sign in to comment.