mirror of
https://github.com/wahyd4/forego.git
synced 2026-08-09 05:07:05 +10:00
allow git tagging
This commit is contained in:
+4
-4
@@ -2,11 +2,11 @@
|
||||
|
||||
version=$(date +%Y%m%d%H%M%S)
|
||||
|
||||
mkdir -p ~/.ssh
|
||||
curl -s ${GITHUB_KEY_URL} -o ~/.ssh/id_rsa
|
||||
chmod 0400 ~/.ssh/id_rsa
|
||||
curl -s ${GITHUB_KEY_URL} -o /tmp/github.key
|
||||
chmod 0400 /tmp/github.key
|
||||
git tag ${version}
|
||||
git push origin ${version}
|
||||
GIT_SSH_COMMAND='ssh -i /tmp/github.key' git push origin ${version}
|
||||
|
||||
curl -s https://bin.equinox.io/c/mBWdkfai63v/release-tool-stable-linux-amd64.tgz | sudo tar xz -C /usr/local/bin
|
||||
curl -s ${EQUINOX_KEY_URL} -o /tmp/equinox.key
|
||||
equinox release --version=${version} --platforms="darwin_386 darwin_amd64 linux_386 linux_amd64 windows_386 windows_amd64" --channel=stable --signing-key=/tmp/equinox.key --app=${EQUINOX_APP} --token=${EQUINOX_TOKEN}
|
||||
|
||||
Reference in New Issue
Block a user