Compare commits

..

6 Commits

Author SHA1 Message Date
Megan Marsh 30aa6a0cb4 Cut version 1.5.4 2020-02-14 15:27:21 -08:00
Megan Marsh a689fc79ef Cut version x.y.z 2020-02-14 15:02:17 -08:00
Megan Marsh c9b011145d cut version 1.5.4 2020-02-14 14:55:03 -08:00
Megan Marsh ac239d1188 fix checking for codesign 2020-02-14 14:50:21 -08:00
Wilken Rivera 9c171c1f13 scripts: Update code signing scripts (#8746)
* scripts/codesign_example: Fix reference to SHASUM_PROG variable

* scripts/sign: Add check for required Artifactory token
2020-02-14 17:38:56 -05:00
Megan Marsh 909b9fcfc7 update to 1.5.4 dev on master branch 2020-02-14 11:16:07 -08:00
6 changed files with 24 additions and 4 deletions
+4
View File
@@ -1,3 +1,7 @@
## 1.5.4 (February 14, 2020)
no-change release to fix code-signing on OSX binaries. Since checksums for these
binaries has changed, we are releasing a second time to prevent confusion.
## 1.5.3 (February 14, 2020)
### IMPROVEMENTS:
+4 -1
View File
@@ -156,6 +156,9 @@ signed_checksum=$(
| grep -i "x-checksum-sha256" | awk 'gsub("[\r\n]", "", $2) {print $2;}'
)
echo "${signed_checksum} signed_${SN_ID}.zip" | SHASUM_PROG -c
echo "${signed_checksum} signed_${SN_ID}.zip" | $SHASUM_PROG -c
if [ $? -ne 0 ]; then
exit 1
fi
mv "signed_${SN_ID}.zip" "$TARGET_ZIP"
+3
View File
@@ -40,6 +40,9 @@ for PLATFORM in $(find ./pkg -mindepth 1 -maxdepth 1 -type d); do
done
./scripts/sign.sh
if [ $? -ne 0 ]; then
exit 1
fi
if [ -z $NOSIGN ]; then
echo "==> Signing..."
+11 -1
View File
@@ -8,6 +8,13 @@
# export PRODUCT_NAME="packer"
# export ARTIFACTORY_TOKEN=$ARTIFACTORY_TOKEN
ARTIFACTORY_TOKEN="${ARTIFACTORY_TOKEN:-""}"
if [ -z "$ARTIFACTORY_TOKEN" ]; then
echo "Missing required Artifactory credentials"
exit 1
fi
# Get the parent directory of where this script is.
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
@@ -26,6 +33,9 @@ for DARWIN_BIN in $(find ./pkg/dist/*darwin_*.zip); do
echo $TARGET_ZIP
./scripts/codesign_example.sh
if [ $? -ne 0 ]; then
exit 1
fi
done
exit 0
exit 0
+1 -1
View File
@@ -9,7 +9,7 @@ import (
var GitCommit string
// The main version number that is being run at the moment.
const Version = "1.5.3"
const Version = "1.5.4"
// A pre-release marker for the version. If this is "" (empty string)
// then it means that it is a final release. Otherwise, this is a pre-release
+1 -1
View File
@@ -2,7 +2,7 @@ set :base_url, "https://www.packer.io/"
activate :hashicorp do |h|
h.name = "packer"
h.version = "1.5.3"
h.version = "1.5.4"
h.github_slug = "hashicorp/packer"
h.website_root = "website"
end