Skip to content

Commit

Permalink
fix: Ensure releases can be pinned to SHAs #23 (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanbuck authored Sep 11, 2022
1 parent 3d44d47 commit 428eec3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ jobs:
- run: npm ci
- run: npm run build
- run: rm .gitignore # dist/ folder is ignored by default
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: |
git config user.name github-actions
git config user.email [email protected]
Expand All @@ -26,3 +23,6 @@ jobs:
git push --force https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:refs/heads/v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 428eec3

Please sign in to comment.