mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
Fix release_habitat rake task
A change made to how we generate the Gemfile during the Habitat build process means we cannot have the PLAN_CONTEXT be the "habitat" directory but instead need it to be the repo root itself. Also changed to the preferred `hab pkg build` command instead of the original `hab studio build` command. Signed-off-by: Adam Leff <adam@leff.co>
This commit is contained in:
parent
5d3abb0289
commit
bb66bb2193
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
Rakefile
|
@ -175,7 +175,7 @@ task :release_habitat do
|
|||
raise "Please set the HAB_AUTH_TOKEN environment variable"
|
||||
end
|
||||
cmd = "echo #{version} > ./habitat/VERSION && "\
|
||||
"hab studio build ./habitat && " \
|
||||
"hab pkg build . && " \
|
||||
"hab pkg upload ./results/*.hart"
|
||||
puts "--> #{cmd}"
|
||||
sh('sh', '-c', cmd)
|
||||
|
|
Loading…
Reference in a new issue