Skip to content

Commit

Permalink
Add liftoff version via tag
Browse files Browse the repository at this point in the history
  • Loading branch information
fourlastor committed Nov 8, 2024
1 parent 1322c2e commit 8e72ab4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
tags:
- v*
# Manual dispatch for testing
# Manual dispatch for testing
workflow_dispatch:
jobs:
publish:
Expand All @@ -19,7 +19,9 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Publish package
run: ./gradlew packageWinX64 packageLinuxX64
run: ./gradlew packageWinX64 packageLinuxX64 -PliftoffVersion="${LIFTOFF_VERSION:1}"
env:
LIFTOFF_VERSION: ${{ github.ref_name }}
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 8e72ab4

Please sign in to comment.