Skip to content

Commit 7686418

Browse files
committed
Update release scripts
1 parent 8e21bb3 commit 7686418

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

scripts/release/download-gh-artifacts.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,15 @@ done
1818

1919
mkdir -p "gh-release-artifacts/cabal-${VERSION}"
2020

21+
git archive --format=tar.gz -o "gh-release-artifacts/${RELEASE}/cabal-${TAG}-src.tar.gz" --prefix="cabal-${TAG}/" HEAD
22+
2123
cd "gh-release-artifacts/cabal-${VERSION}"
2224

2325
# github
2426
gh release download "$RELEASE"
2527

26-
# cirrus
27-
curl --fail -L -o "cabal-install-${VERSION}-x86_64-portbld-freebsd.tar.xz" \
28-
"https://api.cirrus-ci.com/v1/artifact/github/haskell/cabal/build/binaries/out/cabal-install-${VERSION}-x86_64-portbld-freebsd.tar.xz?branch=${RELEASE}"
29-
30-
3128
sha256sum ./* > SHA256SUMS
3229
gpg --detach-sign -u "${SIGNER}" SHA256SUMS
3330

34-
gh release upload "$RELEASE" "cabal-install-${VERSION}-x86_64-portbld-freebsd.tar.xz" SHA256SUMS SHA256SUMS.sig
31+
gh release upload "$RELEASE" "cabal-${TAG}-src.tar.gz" SHA256SUMS SHA256SUMS.sig
3532

0 commit comments

Comments
 (0)