Skip to content

Commit 508f260

Browse files
committed
Maybe fix release script? 🤞
1 parent cd1ea32 commit 508f260

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,17 @@ jobs:
6464
shell: bash
6565
run: |
6666
VERSION="${GITHUB_REF#refs/tags/}"
67-
staging="gleam-$VERSION-${{ matrix.build }}"
68-
mkdir -p "$staging"
6967
7068
if [ "${{ matrix.os }}" = "windows-latest" ]; then
71-
cp "target/${{ matrix.target }}/release/gleam.exe" "$staging/"
72-
7z a "$staging.zip" "$staging"
73-
echo "::set-env name=ASSET::$staging.zip"
69+
ARCHIVE="gleam-$VERSION-${{ matrix.build }}.zip"
70+
cp "target/${{ matrix.target }}/release/gleam.exe" "gleam.exe"
71+
7z a "$ARCHIVE.zip" "gleam.exe"
72+
echo "::set-env name=ASSET::$ARCHIVE"
7473
else
75-
cp "target/${{ matrix.target }}/release/gleam" "$staging/"
76-
tar -czvf "$staging.tar.gz" "$staging"
77-
echo "::set-env name=ASSET::$staging.tar.gz"
74+
ARCHIVE="gleam-$VERSION-${{ matrix.build }}.tar.gz"
75+
cp "target/${{ matrix.target }}/release/gleam" "gleam"
76+
tar -czvf "$ARCHIVE" "gleam"
77+
echo "::set-env name=ASSET::$ARCHIVE"
7878
fi
7979
8080
- name: Upload release archive

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- Gleam can now run eunit without an external build tool.
77
- Gleam can now run an Erlang shell without an external build tool.
88

9+
## v0.12.0-rc3 - 2020-10-24
910
## v0.12.0-rc2 - 2020-10-24
1011
## v0.12.0-rc1 - 2020-10-24
1112

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "gleam"
3-
version = "0.12.0-dev"
3+
version = "0.12.0-rc3"
44
authors = ["Louis Pilfold <[email protected]>"]
55
edition = "2018"
66

0 commit comments

Comments
 (0)