-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(skip-release): Update release.yml
Signed-off-by: Stephane Bouchet <[email protected]>
- Loading branch information
Showing
1 changed file
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | | ||
|
@@ -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 | ||
|