mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-25 01:04:00 -04:00
build: ensure that LC_UUID is generated for Darwin binaries
This commit is contained in:
committed by
Lucas Bajolet
parent
35d14902b0
commit
c6427d2257
@@ -53,7 +53,7 @@ jobs:
|
||||
id: set-ld-flags
|
||||
run: |
|
||||
T="github.com/hashicorp/packer/version"
|
||||
echo "set-ld-flags=-s -w -X ${T}.GitCommit=${GITHUB_SHA::8} -X ${T}.GitDescribe=${{ steps.set-product-version.outputs.product-version }} -X ${T}.Version=${{ steps.set-product-version.outputs.base-product-version }} -X ${T}.VersionPrerelease=${{ steps.set-product-version.outputs.prerelease-product-version }} -X ${T}.VersionMetadata=" >> $GITHUB_OUTPUT
|
||||
echo "set-ld-flags=-s -w -B gobuildid -X ${T}.GitCommit=${GITHUB_SHA::8} -X ${T}.GitDescribe=${{ steps.set-product-version.outputs.product-version }} -X ${T}.Version=${{ steps.set-product-version.outputs.base-product-version }} -X ${T}.VersionPrerelease=${{ steps.set-product-version.outputs.prerelease-product-version }} -X ${T}.VersionMetadata=" >> $GITHUB_OUTPUT
|
||||
- name: validate outputs
|
||||
run: |
|
||||
echo "Product Version: ${{ steps.set-product-version.outputs.product-version }}"
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
1.22.7
|
||||
1.22.9
|
||||
|
||||
Reference in New Issue
Block a user