Skip to content

Commit

Permalink
поправил версию при сборке
Browse files Browse the repository at this point in the history
  • Loading branch information
LazarenkoA committed Nov 10, 2023
1 parent baa5226 commit ca4c5dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/releaser.yaml
Expand Up @@ -26,7 +26,7 @@ jobs:

- name: Get version
id: get_version
run: echo :: set-output name=version::$(echo "${{ github.ref }}" | sed 's/refs\/tags\///')
run: echo ::set-output name=version::$(echo "${{ github.ref }}" | sed 's/refs\/tags\///')

- name: Build for Linux
run: GOOS=linux GOARCH=amd64 go build -o prometheus_1C_exporter-linux-amd64 -ldflags "-X main.version=${{ steps.get_version.outputs.version }} -X main.gitCommit=${{ github.sha }}"
Expand Down

0 comments on commit ca4c5dc

Please sign in to comment.