Skip to content

Commit

Permalink
ci: simplify stable tag updating
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Apr 7, 2023
1 parent a143008 commit d3b4b78
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,9 @@ jobs:
release-type: simple
package-name: astrocommunity
- uses: actions/checkout@v3
- name: tag stable versions
- uses: rickstaa/action-create-tag@v1
if: ${{ steps.release.outputs.release_created }}
run: |
git config user.name github-actions[bot]
git config user.email github-actions[bot]@users.noreply.github.com
git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/google-github-actions/release-please-action.git"
git tag -d stable || true
git push origin :stable || true
git tag -a stable -m "Last Stable Release"
git push origin stable
with:
tag: stable
message: "Current stable release: ${{ steps.release.outputs.tag_name }}"
tag_exists_error: false

0 comments on commit d3b4b78

Please sign in to comment.