build: update deb/rpm metadata to ref influxdb2 v2.1.0 (#292)

This commit is contained in:
Daniel Moran
2021-10-07 09:04:22 -04:00
committed by GitHub
parent c4a5a13c8e
commit cafae42d3c
2 changed files with 14 additions and 9 deletions

View File

@ -156,9 +156,14 @@ jobs:
- checkout
- setup
- install-goreleaser
- run:
name: Make a pseudo-tag for the snapshot build
command: |
latest_tag=$(git describe --tags --abbrev=0)
git tag ${latest_tag}+SNAPSHOT.$(git rev-parse --short HEAD)
- run:
name: Cross-build all targets
command: goreleaser build --rm-dist --snapshot
command: IS_SNAPSHOT=1 goreleaser release --rm-dist --skip-publish --skip-sign --skip-validate
- store_artifacts:
path: dist