Skip to content

Commit

Permalink
fix: Fixing release action
Browse files Browse the repository at this point in the history
Signed-off-by: Binyamin Yawitz <316103+byawitz@users.noreply.github.com>
  • Loading branch information
byawitz committed Apr 3, 2024
1 parent 1c790ce commit e5eefc5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,25 @@ jobs:
name: Create release
runs-on: ubuntu-latest
needs: release
env:
GH_TOKEN: ${{ github.token }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: create release
run: gh release create ${{ github.ref_name }} -R $REPO -d --generate-notes
run: gh release create ${{ github.ref_name }} -R $REPO -d -t "${{ github.ref_name }}" -n ""
- name: Set new version
run: |
VVER=${{ github.ref_name }}
VER="${VVER//v/}"
sed -i'' -e "s#CURRENT_LINKOS_VERSION#$VER#g" docker-compose.yml
- name: upload
run: gh release upload v0000 -R ${{ github.ref_name }} docker-compose.yml
run: gh release upload ${{ github.ref_name }} -R $REPO docker-compose.yml
- name: create release
run: ls

release-notes:
name: Release notes
runs-on: ubuntu-latest
needs: create-release
steps:
Expand Down

0 comments on commit e5eefc5

Please sign in to comment.