Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
devigned committed Mar 1, 2024
1 parent b8c9290 commit 84d0b15
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,19 @@ jobs:
if: ${{ env.DRY_RUN }}
with:
fetch-depth: 0
- name: First ref
- name: dry run parse
id: parse
if: ${{ env.DRY_RUN }}
shell: bash
# match the first wasmtime tag for dry run
run: echo "REF=refs/tags/$(git describe --tags --abbrev=0 --match "containerd-shim-wasmtime/*")" >> ${GITHUB_ENV}
run: |
ref=refs/tags/$(git describe --tags --abbrev=0 --match "containerd-shim-wasmtime/*")
./scripts/parse_ref.sh "${ref}" >> ${GITHUB_OUTPUT}
- uses: actions/checkout@v4
with:
ref: ${{ env.REF }}
- id: parse
if: ${{ !env.DRY_RUN }}
name: Parse ref
shell: bash
run: ./scripts/parse_ref.sh ${{ env.REF }} >> ${GITHUB_OUTPUT}
Expand Down

0 comments on commit 84d0b15

Please sign in to comment.