Skip to content

Commit 956f9b7

Browse files
committed
Unify gh download and downloads.haskell upload script locations
1 parent 95dd591 commit 956f9b7

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

RELEASING.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,11 @@
3434
- this creates a draft release
3535
- `git push <remote> <version>`
3636
- [ ] run `sh scripts/release/download-gh-artifacts.sh <version> <your-gpg-email>`
37-
- downloads artifacts to `gh-release-artifacts/<version>/`
37+
- downloads artifacts to `gh-release-artifacts/haskell-language-server-<version>/`
3838
- also downloads FreeBSD bindist from circle CI
3939
- adds signatures
40-
- [ ] upload artifacts to downloads.haskell.org manually from `gh-release-artifacts/<version>/`
40+
- [ ] upload artifacts to downloads.haskell.org from `gh-release-artifacts/haskell-language-server-<version>/`
4141
- You require sftp access, contact wz1000, bgamari or chreekat
42-
- For uploading, rename `gh-release-artifacts/<version>` to `gh-release-artifacts/haskell-language-server-<version>`
4342
- `cd gh-release-artifacts/haskell-language-server-<version>`
4443
- `SIGNING_KEY=... ../../release/upload.sh upload`
4544
- Your SIGNING_KEY can be obtained with `gpg --list-secret-keys --keyid-format=long`

scripts/release/create-yaml-snippet.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -o pipefail
55

66
RELEASE=$1
77

8-
cd "gh-release-artifacts/${RELEASE}"
8+
cd "gh-release-artifacts/haskell-language-server-${RELEASE}"
99

1010
cat <<EOF > /dev/stdout
1111
$RELEASE:

scripts/release/download-gh-artifacts.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ for com in gh gpg curl sha256sum ; do
1313
command -V ${com} >/dev/null 2>&1
1414
done
1515

16-
[ ! -e "gh-release-artifacts/${RELEASE}" ]
16+
[ ! -e "gh-release-artifacts/haskell-language-server-${RELEASE}" ]
1717

18-
mkdir -p "gh-release-artifacts/${RELEASE}"
18+
mkdir -p "gh-release-artifacts/haskell-language-server-${RELEASE}"
1919

20-
cd "gh-release-artifacts/${RELEASE}"
20+
cd "gh-release-artifacts/haskell-language-server-${RELEASE}"
2121

2222
# github
2323
gh release download "$RELEASE"

0 commit comments

Comments
 (0)