Skip to content

Commit 7a00010

Browse files
authored
fix: update rolling build version string to comply with BHE semver validation - BED-8176 (#192)
1 parent 132897a commit 7a00010

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # ratchet:docker/build-push-action@v7
7878
with:
7979
context: .
80-
build-args: VERSION=v0.0.0-rolling+${{ github.sha }}
80+
build-args: VERSION=v0.0.0
8181
tags: azurehound # temporary tag to simplify oci conversion
8282
labels: ${{ steps.meta.outputs.labels }}
8383
push: false
@@ -96,7 +96,7 @@ jobs:
9696
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # ratchet:docker/build-push-action@v7
9797
with:
9898
context: .
99-
build-args: VERSION=v0.0.0-rolling+${{ github.sha }}
99+
build-args: VERSION=v0.0.0
100100
tags: ${{ steps.meta.outputs.tags }}
101101
labels: ${{ steps.meta.outputs.labels }}
102102
push: ${{ ! startsWith(github.event_name, 'pull_request') }}
@@ -132,10 +132,10 @@ jobs:
132132
continue-on-error: true
133133
run: |
134134
echo "Generating Windows resources..."
135-
go run winres/generate-windows-resources/generate-windows-resources.go "v0.0.0-rolling+${{ github.sha }}"
135+
go run winres/generate-windows-resources/generate-windows-resources.go "v0.0.0"
136136
137137
- name: Build
138-
run: 'go build -ldflags="-s -w -X github.com/bloodhoundad/azurehound/v2/constants.Version=v0.0.0-rolling+${{ github.sha }}"'
138+
run: 'go build -ldflags="-s -w -X github.com/bloodhoundad/azurehound/v2/constants.Version=v0.0.0"'
139139
env:
140140
GOOS: ${{ matrix.os }}
141141
GOARCH: ${{ matrix.arch }}

0 commit comments

Comments
 (0)