Skip to content

Commit

Permalink
chore: drop next release task
Browse files Browse the repository at this point in the history
  • Loading branch information
vpa1977 committed Oct 1, 2024
1 parent e3392d1 commit 9694a27
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,6 @@ jobs:
PUBLISH_KEY: ${{ secrets.PUBLISH_KEY }}
PUBLISH_SECRET: ${{ secrets.PUBLISH_SECRET }}

- name: Commit next development version
if: steps.deploy.outputs.exit_code == 0
run: |
git config user.email ""
git config user.name "Gluon Bot"
TAG=${GITHUB_REF/refs\/tags\//}
# Update project version
newVersion=${TAG%.*}.$((${TAG##*.} + 1))
echo "Update project version to next snapshot version"
sed -i "0,/^version = '$TAG'/s//version = '$newVersion-SNAPSHOT'/" build.gradle
git commit build.gradle -m "Prepare development of $newVersion"
git push ${REPO} HEAD:main
env:
PAT: ${{ secrets.GITHUB_TOKEN }}
REPO: https://github.com/vpa1977/rockcraft-gradle-plugin

- name: Create GitHub release
uses: softprops/action-gh-release@v2
with:
Expand Down

0 comments on commit 9694a27

Please sign in to comment.