Skip to content

Commit

Permalink
fix: update build workflow to set version to 'none' and improve versi…
Browse files Browse the repository at this point in the history
…on logging
  • Loading branch information
kaorlol committed Dec 23, 2024
1 parent 9f9cbd4 commit 4011136
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches: ["master"]
env:
CARGO_TERM_COLOR: always
VERSION: 0.1.0
VERSION: none

jobs:
build:
Expand All @@ -23,7 +23,8 @@ jobs:
id: version
run: |
$VERSION = cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].version'
echo "VERSION=$VERSION" >> $env:GITHUB_ENV
echo "Latest version: $VERSION"
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Build
run: cargo build --release --verbose
Expand Down

0 comments on commit 4011136

Please sign in to comment.