Skip to content

Commit 44eec7c

Browse files
fix(release): set GIT_REV in macOS build to avoid dirty version string (#1958)
2 parents 47b2b4e + 6f9cb2b commit 44eec7c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/dre-release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
set -euo pipefail
4141
TAG="${GITHUB_REF#refs/tags/}"
4242
python3 bin/mk-release.py "$TAG"
43+
echo "GIT_REV=$(git rev-parse --short HEAD)" >> "$GITHUB_ENV"
4344
4445
- name: Determine Rust toolchain from rust-toolchain.toml
4546
id: rust

0 commit comments

Comments
 (0)