From c77bb87b4c78ef90aab5497ff1bb68809d8d1df5 Mon Sep 17 00:00:00 2001 From: Rob Arnold <326113+robarnold@users.noreply.github.com> Date: Sun, 26 May 2024 12:57:42 -0700 Subject: [PATCH] Fix version tagging on release (#162) I forgot about the `TAG=` part in manual testing --- .github/workflows/kairos-ubuntu-22-lts.yml | 2 +- .github/workflows/universal-silabs-flasher.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/kairos-ubuntu-22-lts.yml b/.github/workflows/kairos-ubuntu-22-lts.yml index 236c17d..8552714 100644 --- a/.github/workflows/kairos-ubuntu-22-lts.yml +++ b/.github/workflows/kairos-ubuntu-22-lts.yml @@ -52,7 +52,7 @@ jobs: run: earthly ./images/kairos-ubuntu-22-lts/+image - id: tags - run: echo "TAG=$BRANCH" | sed -e 's/^v//' -e 's/\//_/' >> "$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) }} diff --git a/.github/workflows/universal-silabs-flasher.yml b/.github/workflows/universal-silabs-flasher.yml index 104092e..6268dd2 100644 --- a/.github/workflows/universal-silabs-flasher.yml +++ b/.github/workflows/universal-silabs-flasher.yml @@ -41,7 +41,7 @@ jobs: run: docker login --username "${{ github.actor }}" --password "${{ secrets.GITHUB_TOKEN }}" ghcr.io - id: tags - run: echo "TAG=$BRANCH" | sed -e 's/^v//' -e 's/\//_/' >> "$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) }}