Skip to content

Commit

Permalink
fix worker tag regx
Browse files Browse the repository at this point in the history
  • Loading branch information
0xverin committed May 15, 2024
1 parent e23b5db commit c00d75b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
- name: Set env
run: |
PARACHAIN_DOCKER_TAG=$(echo ${{ env.RELEASE_TAG }} | cut -d'-' -f1 | sed 's/p/v/')
WORKER_DOCKER_TAG=$(echo ${{ env.RELEASE_TAG }} | cut -d'-' -f1 | sed 's/p/v/')
WORKER_DOCKER_TAG=$(echo ${{ env.RELEASE_TAG }} | sed 's/.*w/v/;s/-.*//')
echo "PARACHAIN_DOCKER_TAG-------: $PARACHAIN_DOCKER_TAG"
echo "WORKER_DOCKER_TAG-------: $WORKER_DOCKER_TAG"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-ts-api-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
- name: Set ENV
run: |
# extracting parachain version and worker version from release tag
echo "PARACHAIN_TAG=$(echo ${{inputs.release-tag}} | sed 's/p/v/;s/-.*//')" >> $GITHUB_ENV
echo "WORKER_TAG=$(echo ${{inputs.release-tag}} | sed 's/.*w/v/;s/-.*//')" >> $GITHUB_ENV
echo "PARACHAIN_DOCKER_TAG=$(echo ${{ env.RELEASE_TAG }} | cut -d'-' -f1 | sed 's/p/v/')" >> $GITHUB_ENV
echo "WORKER_DOCKER_TAG=$(echo ${{ env.RELEASE_TAG }} | sed 's/.*w/v/;s/-.*//')" >> $GITHUB_ENV
echo "PARACHAIN_DOCKER_TAG-----: $PARACHAIN_DOCKER_TAG"
echo "WORKER_DOCKER_TAG-------: $WORKER_DOCKER_TAG"
Expand Down

0 comments on commit c00d75b

Please sign in to comment.