Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rainlizard authored Dec 5, 2023
1 parent fb40341 commit dca1874
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ jobs:
id: version_info
run: |
MAJOR_MINOR=$(grep "var major_minor" Autoload/Version.gd | awk -F\" '{print $2}')
echo "Extracted MAJOR_MINOR: $MAJOR_MINOR"
PATCH=$(git rev-list --count HEAD)
echo "Total commits (PATCH): $PATCH"
FULL_VERSION="$MAJOR_MINOR.$PATCH"
echo "Calculated FULL_VERSION: $FULL_VERSION"
echo "FULL_VERSION=$FULL_VERSION" >> $GITHUB_ENV
- name: Download Artifacts from Build Workflow
Expand Down

0 comments on commit dca1874

Please sign in to comment.