Skip to content

Commit

Permalink
Maybe fix release script? 🤞
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Oct 24, 2020
1 parent cd1ea32 commit 508f260
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@ jobs:
shell: bash
run: |
VERSION="${GITHUB_REF#refs/tags/}"
staging="gleam-$VERSION-${{ matrix.build }}"
mkdir -p "$staging"
if [ "${{ matrix.os }}" = "windows-latest" ]; then
cp "target/${{ matrix.target }}/release/gleam.exe" "$staging/"
7z a "$staging.zip" "$staging"
echo "::set-env name=ASSET::$staging.zip"
ARCHIVE="gleam-$VERSION-${{ matrix.build }}.zip"
cp "target/${{ matrix.target }}/release/gleam.exe" "gleam.exe"
7z a "$ARCHIVE.zip" "gleam.exe"
echo "::set-env name=ASSET::$ARCHIVE"
else
cp "target/${{ matrix.target }}/release/gleam" "$staging/"
tar -czvf "$staging.tar.gz" "$staging"
echo "::set-env name=ASSET::$staging.tar.gz"
ARCHIVE="gleam-$VERSION-${{ matrix.build }}.tar.gz"
cp "target/${{ matrix.target }}/release/gleam" "gleam"
tar -czvf "$ARCHIVE" "gleam"
echo "::set-env name=ASSET::$ARCHIVE"
fi
- name: Upload release archive
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Gleam can now run eunit without an external build tool.
- Gleam can now run an Erlang shell without an external build tool.

## v0.12.0-rc3 - 2020-10-24
## v0.12.0-rc2 - 2020-10-24
## v0.12.0-rc1 - 2020-10-24

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gleam"
version = "0.12.0-dev"
version = "0.12.0-rc3"
authors = ["Louis Pilfold <[email protected]>"]
edition = "2018"

Expand Down

0 comments on commit 508f260

Please sign in to comment.