style: add white space after download url in error message (#31) #36
Workflow file for this run
This file contains hidden or 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
| name: Release | |
| permissions: | |
| contents: write | |
| on: | |
| push: | |
| tags: | |
| - 'v*.*.*' | |
| workflow_dispatch: | |
| jobs: | |
| release: | |
| name: Create release and move major tag | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Create GitHub Release | |
| uses: actions/create-release@v1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| tag_name: ${{ github.ref_name }} | |
| release_name: Release ${{ github.ref_name }} | |
| draft: false | |
| prerelease: false | |
| - name: Update floating major tag | |
| run: | | |
| TAG="${GITHUB_REF_NAME}" | |
| MAJOR=$(echo "$TAG" | cut -d. -f1) | |
| echo "Updating $MAJOR to point at $TAG (commit $GITHUB_SHA)" | |
| # Create/force-update annotated tag for auditability | |
| git config user.name "github-actions" | |
| git config user.email "github-actions@github.com" | |
| git tag -fa "$MAJOR" -m "Point $MAJOR to $TAG" | |
| git push origin "$MAJOR" --force | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |