Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(openbao): use current date for BuildDate #30439

Merged
merged 4 commits into from
Oct 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions openbao.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: openbao
version: 2.0.2
epoch: 0
epoch: 1
description: OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secrets, certificates, and keys.
copyright:
- license: MPL-2.0
Expand Down Expand Up @@ -36,8 +36,7 @@ pipeline:
ldflags: |
-X github.com/openbao/openbao/version.fullVersion=${{package.version}}
-X github.com/openbao/openbao/version.GitCommit='$(git rev-parse HEAD)'
-X github.com/openbao/openbao/version.BuildDate='$(git show --no-show-signature -s --format=%cd --date=format:"%Y-%m-%dT%H:%M:%SZ" HEAD)'
- uses: strip
-X github.com/openbao/openbao/version.BuildDate='$(date -u +"%Y-%m-%dT%H:%M:%SZ")'

subpackages:
- name: openbao-compat
Expand Down
Loading