mirror of
https://github.com/haskell/haskell-language-server.git
synced 2024-09-11 08:45:35 +03:00
Unify gh download and downloads.haskell upload script locations
This commit is contained in:
parent
95dd591e0e
commit
956f9b7231
@ -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`
|
||||
|
@ -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:
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user