Skip to content

Commit

Permalink
updated build.yml 6
Browse files Browse the repository at this point in the history
  • Loading branch information
abdelhamiderrahmouni committed Feb 21, 2024
1 parent e5ce591 commit 65df54d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ jobs:
run: git fetch --tags

- name: Set PACKAGE_VERSION
run: echo "PACKAGE_VERSION=$(git describe --tags --abbrev=0 | cut -c 2- | awk -F. '{$NF = $NF + 1;} 1' OFS=. | sed 's/\.$//')" >> $GITHUB_ENV
run: echo "PACKAGE_VERSION=$(git describe --tags --abbrev=0 | cut -c 2- | awk -F. '{$NF = $NF + 1;} 1' OFS=. | sed 's/\.$//')" >> "$GITHUB_ENV"

- name: Extract version
id: extract_version
run: echo $PACKAGE_VERSION >> $GITHUB_ENV

- name: Build the executable
run: |
Expand Down

0 comments on commit 65df54d

Please sign in to comment.