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 3d96543 commit 939722a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/devops-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
steps:
- id: get-version
run: |
default-release="${{ github.event.repository.default_branch }}"
version=$(echo "$default-release" | sed -E 's/release-(.*)/\1/')
version=$(echo "${{ github.event.repository.default_branch }}" | sed -E 's/release-(.*)/\1/')
echo "VERSION=$version" >> $GITHUB_OUTPUT
devops-test:
Expand Down

0 comments on commit 939722a

Please sign in to comment.