mirror of https://github.com/hashicorp/consul
scripts: dist should have version in filename
parent
416219f2ff
commit
75d50f589e
|
@ -28,7 +28,7 @@ mkdir -p ./dist/pkg
|
|||
for FILENAME in $(find ./dist -mindepth 1 -maxdepth 1 -type f); do
|
||||
FILENAME=$(basename $FILENAME)
|
||||
PLATFORM="${FILENAME%.*}"
|
||||
zip ./dist/pkg/${PLATFORM}.zip ./dist/${FILENAME}
|
||||
zip ./dist/pkg/${VERSION}_${PLATFORM}.zip ./dist/${FILENAME}
|
||||
done
|
||||
|
||||
# Make the checksums
|
||||
|
|
Loading…
Reference in New Issue