Skip to content

Commit

Permalink
Merge pull request #3 from brack-lang/feat/release-branch-2
Browse files Browse the repository at this point in the history
fix: var index in awk and enable prerelease
  • Loading branch information
momeemt authored Jun 12, 2024
2 parents cc56cea + 3390871 commit 3eecd45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Get latest dev tag
id: new-tag
run: |
LATEST_TAG=$(gh release list --limit 100 | grep "v-${{ steps.version.outputs.version }}-dev-" | sort -V | tail -n 1 | awk '{print $1}')
LATEST_TAG=$(gh release list --limit 100 | grep "v-${{ steps.version.outputs.version }}-dev-" | sort -V | tail -n 1 | awk '{print $3}')
if [ -z "$LATEST_TAG" ]; then
NEW_TAG="v-${{ steps.version.outputs.version }}-dev-1"
else
Expand All @@ -43,7 +43,7 @@ jobs:
tag_name: ${{ steps.new-tag.outputs.new_tag }}
release_name: Develop release ${{ steps.new-tag.outputs.new_tag }}
draft: false
prerelease: false
prerelease: true

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit 3eecd45

Please sign in to comment.