Skip to content

Commit

Permalink
Fixing syntax error on github actions file
Browse files Browse the repository at this point in the history
  • Loading branch information
Guney Saramali committed Jun 18, 2024
1 parent 1bdf804 commit d5092f2
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/set-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ jobs:
export plain_tag=$(TAG_NAME=${{ github.ref_name }}; echo "$TAG_NAME" | cut -d "-" -f 2)
echo "version=${plain_tag}" >> $GITHUB_OUTPUT
- name: Print outputs
run: echo ${{ steps.split_version.outputs}}


- name: Set version
run: ./scripts/set-version.sh ${{ steps.version.split_version.version }}
run: ./scripts/set-version.sh ${{ steps.split_version.outputs.version }}

- name: Commit new version
uses: stefanzweifel/git-auto-commit-action@v5
Expand All @@ -40,9 +44,9 @@ jobs:
uses: rickstaa/action-create-tag@v1
id: "tag_create"
with:
tag: "v${{ steps.Version.outputs.version }}"
tag: "v${{ steps.split_version.outputs.version }}"
tag_exists_error: false
message: "Release version: ${{ steps.Version.outputs.version }}"
message: "Release version: ${{ steps.split_version.outputs.version }}"
token: ${{ secrets.PAT }}
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
Expand All @@ -54,7 +58,7 @@ jobs:
tag: "latest"
tag_exists_error: false
force_push_tag: true
message: "Release version: ${{ steps.Version.outputs.version }}"
message: "Release version: ${{ steps.split_version.outputs.version }}"
token: ${{ secrets.PAT }}
env:
GITHUB_TOKEN: ${{ secrets.PAT }}

0 comments on commit d5092f2

Please sign in to comment.