Skip to content
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
16 changes: 9 additions & 7 deletions projects/vaultproject.io/package.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
distributable:
url: git+https://github.com/hashicorp/vault
ref: v{{version}}
ref: ${{version.tag}}

versions:
github: hashicorp/vault

build:
dependencies:
go.dev: =1.25.4 # as of 1.21.1
nodejs.org: ^18
nodejs.org: ^20 # as of 1.20.0
# python 3.11 removes 'rU' mode which breaks node-gyp
python.org: ~3.10
npmjs.com: '*'
classic.yarnpkg.com: '*'
git-scm.org: '*'
npmjs.com: "*"
classic.yarnpkg.com: "*"
git-scm.org: "*"
# TODO: gox
pkgx.sh: "*" # to use pkgx go= in script
script:
- go mod tidy
# required tooling; no releases to package
- run:
- go install github.com/loggerhead/enumer@latest
# enumer doesn't build on newer go versions, but we need a newer go for vault itself
- command -v enumer || pkgx go=1.22 install github.com/loggerhead/enumer@latest
- export PATH=$HOME/go/bin:$PATH
if: '>=1.16.2<1.21.1'
if: ">=1.16.2"
- make bootstrap static-dist dev-ui
- install -D bin/vault {{prefix}}/bin/vault

Expand Down