Skip to content

Commit

Permalink
get version
Browse files Browse the repository at this point in the history
  • Loading branch information
kuanfandevops committed Jul 25, 2024
1 parent f319f57 commit 3d96543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/devops-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- id: get-version
run: |
default-release=${{ github.event.repository.default_branch }}
default-release="${{ github.event.repository.default_branch }}"
version=$(echo "$default-release" | sed -E 's/release-(.*)/\1/')
echo "VERSION=$version" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 3d96543

Please sign in to comment.