Skip to content

Commit

Permalink
chore(skip-release): Update release.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Stephane Bouchet <[email protected]>
  • Loading branch information
sbouchet authored Jul 16, 2024
1 parent 36d7126 commit 2299cc8
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,20 @@ jobs:
validate-wrappers: true
gradle-home-cache-cleanup: true

- name: Tag Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.email "[email protected]"
git config user.name "GitHub Action"
if git diff --quiet; then
echo "No changes to commit."
else
git commit -sam "chore(skip-release): set version to ${{ inputs.release_version }}"
fi
git tag ${{ inputs.release_version }}
git push origin ${{ inputs.release_version }}
- name: Set Release Version
shell: bash
run: |
Expand All @@ -67,20 +81,6 @@ jobs:
./gradlew publishPlugin -PjetBrainsToken=$PUBLISH_TOKEN -PprojectVersion=$PLUGIN_VERSION -PjetBrainsChannel=stable
echo "Published $PLUGIN_VERSION to the Jetbrains Marketplace"
- name: Tag Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.email "[email protected]"
git config user.name "GitHub Action"
if git diff --quiet; then
echo "No changes to commit."
else
git commit -sam "chore(skip-release): set version to ${{ inputs.release_version }}"
fi
git tag ${{ inputs.release_version }}
git push origin ${{ inputs.release_version }}
# Set next SNAPSHOT version
- name: Increment Plugin Version
shell: bash
Expand Down

0 comments on commit 2299cc8

Please sign in to comment.