Skip to content

Commit

Permalink
Strip the v prefix from tagged releases (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
robarnold authored May 26, 2024
1 parent 3c7d163 commit e0807dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/kairos-ubuntu-22-lts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
run: earthly ./images/kairos-ubuntu-22-lts/+image

- id: tags
run: echo "TAG=$BRANCH" | tr / _ >> "$GITHUB_ENV"
run: echo "TAG=$BRANCH" | sed -e 's/^v//' -e 's/\//_/' >> "$GITHUB_ENV"
env:
BRANCH: ${{ github.ref_type == 'tag' && github.ref_name || github.event_name != 'pull_request' && 'latest' || format('pr-{0}', github.head_ref) }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/universal-silabs-flasher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: docker login --username "${{ github.actor }}" --password "${{ secrets.GITHUB_TOKEN }}" ghcr.io

- id: tags
run: echo "TAG=$BRANCH" | tr / _ >> "$GITHUB_ENV"
run: echo "TAG=$BRANCH" | sed -e 's/^v//' -e 's/\//_/' >> "$GITHUB_ENV"
env:
BRANCH: ${{ github.ref_type == 'tag' && github.ref_name || github.event_name != 'pull_request' && 'latest' || format('pr-{0}', github.head_ref) }}

Expand Down

0 comments on commit e0807dd

Please # to comment.