Skip to content

Custom release for PSO consumption

Latest
Compare
Choose a tag to compare
@taherv taherv released this 21 Oct 23:35
· 95 commits to master since this release
50b0dd6

PSO CI needs packer with commit 50b0dd6 which has not been released by upstream packer yet.
1.3.1-PSO is a release of packer at the above commit.

When a packer release is available upstream that incorporates this commit, this repo may be safely deleted, by updating the version in nsm-dev-tools repo.

The script that was used to generate this release is

os76@vm-taher:~/packer$ cat do.sh
#!/bin/bash

set -xe

export GOPATH=~/packer
export VERSION=1.3.1-PSO
git clone https://github.com/purestorage/packer.git ~/packer/src/github.com/hashicorp/packer

cd ~/packer/src/github.com/hashicorp/packer && \
git reset --hard 50b0dd63811e821241d0518d1bb025c03eec49cd && \

sed -i "s#const VersionPrerelease = \"dev\"#const VersionPrerelease = \"\"#g" version/version.go
sed -i "s#const Version = \"1.3.2\"#const Version = \"1.3.1-PSO\"#g" version/version.go
XC_OS=linux XC_ARCH=amd64 make fmt
XC_OS=linux XC_ARCH=amd64 make test
XC_OS=linux XC_ARCH=amd64 make releasebin
ls -lrt  bin/packer