You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
637 B
22 lines
637 B
#!/bin/bash -
|
|
#
|
|
# https://equinox.io/docs/continuous-deployment/travis-ci
|
|
|
|
set -eu -o pipefail
|
|
|
|
# Download and unpack the most recent Equinox release tool
|
|
wget https://bin.equinox.io/c/mBWdkfai63v/release-tool-stable-linux-amd64.tgz
|
|
tar -vxf release-tool-stable-linux-amd64.tgz
|
|
|
|
VER=$(git describe --tags --dirty --always)
|
|
echo "VER: $VER"
|
|
|
|
./equinox release \
|
|
--channel="stable" \
|
|
--version="$VER" \
|
|
--app="app_8Gji4eEAdDx" \
|
|
--platforms="darwin_amd64 linux_amd64 linux_arm" \
|
|
--signing-key="equinox.key" \
|
|
--token="$EQUINOX_API_TOKEN" \
|
|
-- -tags vfs -ldflags "-X main.Version=$VER"
|