Skip to content

Commit

Permalink
fix: get version from tag ref
Browse files Browse the repository at this point in the history
  • Loading branch information
jolexxa committed Apr 25, 2024
1 parent fe14caf commit 099b2ed
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,18 @@ jobs:
submodules: 'recursive'

- name: 🔎 Read Current Project Verson
uses: KageKirin/[email protected]
id: current-version
with:
file: Chickensoft.GoDotCollections/Chickensoft.GoDotCollections.csproj
xpath: /Project/PropertyGroup/Version
uses: battila7/get-version-action@v2

- name: 🖨 Print Current Version
run: |
echo "Current Version: ${{ steps.current-version.outputs.version }}"
echo "Current Version: ${{ steps.current-version.outputs.version-without-v }}"
- name: 🧮 Compute Next Version
uses: chickensoft-games/next-godot-csproj-version@v1
id: next-version
with:
project-version: ${{ steps.current-version.outputs.version }}
project-version: ${{ steps.current-version.outputs.version-without-v }}
godot-version: global.json
bump: ${{ github.event.inputs.bump }}

Expand Down

0 comments on commit 099b2ed

Please sign in to comment.