Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Commit

Permalink
Fix properly to use chef-dk name for habitat package
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Cowie <jonlives@gmail.com>
  • Loading branch information
jonlives committed May 25, 2018
1 parent d52852d commit 8ed5e52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .expeditor/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ docker_images:
- chefdk

habitat_packages:
- chefdk
- chef-dk

github:
# The file where the MAJOR.MINOR.PATCH version is kept. The version in this file
Expand Down
6 changes: 3 additions & 3 deletions habitat/plan.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pkg_name=chefdk
pkg_name=chef-dk
pkg_origin=chef
pkg_maintainer="The Chef Maintainers <humans@chef.io>"
pkg_description="The Chef Developer Kit"
Expand Down Expand Up @@ -40,7 +40,7 @@ do_before() {
do_download() {
# Instead of downloading, build a gem based on the source in src/
cd $PLAN_CONTEXT/..
gem build chef-dk.gemspec
gem build $pkg_name.gemspec
}

do_verify() {
Expand All @@ -50,7 +50,7 @@ do_verify() {
do_unpack() {
# Unpack the gem we built to the source cache path. Building then unpacking
# the gem reuses the file inclusion/exclusion rules defined in the gemspec.
gem unpack $PLAN_CONTEXT/../chef-dk-$pkg_version.gem --target=$HAB_CACHE_SRC_PATH
gem unpack $PLAN_CONTEXT/../$pkg_name-$pkg_version.gem --target=$HAB_CACHE_SRC_PATH
}

do_prepare() {
Expand Down

0 comments on commit 8ed5e52

Please sign in to comment.