mirror of
https://github.com/wahyd4/forego.git
synced 2026-08-09 05:07:05 +10:00
13 lines
443 B
Bash
Executable File
13 lines
443 B
Bash
Executable File
#!/bin/sh
|
|
|
|
version=$(shell date +%Y%m%d%H%M%S)
|
|
|
|
mkdir -p ~/.ssh
|
|
curl -s $(GITHUB_KEY_URL) -o ~/.ssh/id_rsa
|
|
chmod 0400 ~/.ssh/id_rsa
|
|
git tag ${version}
|
|
git push origin ${version}
|
|
|
|
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)
|