waveterm/buildres/publish-from-staging.sh
Evan Simkowitz 33fc3518c0
Sign and notarize directly in build-helper (#389)
* Sign and notarize in CI

* add dmg

* remove flag

* fix env var

* add team id

* conditionally set apple specific env vars

* publish to a staging location

* upload unzipped

* add script to publish to staging, update publish url

* turn off autodiscovery again

* update scripts

* deprecate old method

* move stuff

* remove autodiscovery
2024-03-06 16:07:48 -08:00

12 lines
393 B
Bash

# Takes a release from our staging bucket and publishes it to the public download bucket.
# Usage: publish-from-staging.sh <version>
# Example: publish-from-staging.sh 0.1.0
# Takes the version as an argument
VERSION=$1
if [ -z "$VERSION" ]; then
echo "Usage: $0 <version>"
exit
fi
aws s3 cp s3://waveterm-github-artifacts/staging/$VERSION/ s3://dl.waveterm.dev/releases/ --recursive