Skip to content

Commit

Permalink
fix: Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
revolunet authored Feb 20, 2025
1 parent c9f8af0 commit bb6597f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:

- name: Checkout this repo
uses: actions/checkout@v4
with:
ref: main

- name: Get GitHub App Token
id: token
uses: SocialGouv/token-bureau@main
Expand All @@ -25,3 +31,11 @@ jobs:
github-token: ${{ steps.token.outputs.token }}
author-name: ${{ secrets.SOCIALGROOVYBOT_NAME }}
author-email: ${{ secrets.SOCIALGROOVYBOT_EMAIL }}

- name: Create tag v1
run: |
git config user.name "${{ secrets.SOCIALGROOVYBOT_NAME }}"
git config user.email "${{ secrets.SOCIALGROOVYBOT_EMAIL }}"
git tag -d v1
git tag v1
git push --tags -f

0 comments on commit bb6597f

Please sign in to comment.