Skip to content

Commit

Permalink
fix new version
Browse files Browse the repository at this point in the history
  • Loading branch information
CChemin committed Mar 31, 2021
1 parent d2adf9f commit 96d6cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ jobs:
git config --global user.name "Insee - Domaine Outils Transverses"
git config --global user.email "[email protected]"
git checkout main
git checkout -b prepare-version-$new_version
old_version=${{ needs.build.outputs.version }}
new_version=$(echo $old_version | cut -d. -f1).$(($(echo $old_version | cut -d. -f2) + 1)).0
git checkout -b prepare-version-$new_version
mvn -B versions:set -DnewVersion=$new_version-SNAPSHOT -DgenerateBackupPoms=false
git add .
git commit -sm"Prepare new version"
Expand Down

0 comments on commit 96d6cf2

Please sign in to comment.