Unify gh download and downloads.haskell upload script locations

This commit is contained in:
Fendor 2023-09-03 12:42:42 +02:00 committed by fendor
parent 95dd591e0e
commit 956f9b7231
3 changed files with 6 additions and 7 deletions

View File

@ -34,12 +34,11 @@
- this creates a draft release
- `git push <remote> <version>`
- [ ] run `sh scripts/release/download-gh-artifacts.sh <version> <your-gpg-email>`
- downloads artifacts to `gh-release-artifacts/<version>/`
- downloads artifacts to `gh-release-artifacts/haskell-language-server-<version>/`
- also downloads FreeBSD bindist from circle CI
- adds signatures
- [ ] upload artifacts to downloads.haskell.org manually from `gh-release-artifacts/<version>/`
- [ ] upload artifacts to downloads.haskell.org from `gh-release-artifacts/haskell-language-server-<version>/`
- You require sftp access, contact wz1000, bgamari or chreekat
- For uploading, rename `gh-release-artifacts/<version>` to `gh-release-artifacts/haskell-language-server-<version>`
- `cd gh-release-artifacts/haskell-language-server-<version>`
- `SIGNING_KEY=... ../../release/upload.sh upload`
- Your SIGNING_KEY can be obtained with `gpg --list-secret-keys --keyid-format=long`

View File

@ -5,7 +5,7 @@ set -o pipefail
RELEASE=$1
cd "gh-release-artifacts/${RELEASE}"
cd "gh-release-artifacts/haskell-language-server-${RELEASE}"
cat <<EOF > /dev/stdout
$RELEASE:

View File

@ -13,11 +13,11 @@ for com in gh gpg curl sha256sum ; do
command -V ${com} >/dev/null 2>&1
done
[ ! -e "gh-release-artifacts/${RELEASE}" ]
[ ! -e "gh-release-artifacts/haskell-language-server-${RELEASE}" ]
mkdir -p "gh-release-artifacts/${RELEASE}"
mkdir -p "gh-release-artifacts/haskell-language-server-${RELEASE}"
cd "gh-release-artifacts/${RELEASE}"
cd "gh-release-artifacts/haskell-language-server-${RELEASE}"
# github
gh release download "$RELEASE"