Skip to content

Commit

Permalink
Merge pull request #36 from davidrunger/add-back-linux-build-step
Browse files Browse the repository at this point in the history
Add back linux binary release process
  • Loading branch information
davidrunger committed Nov 5, 2022
2 parents 1832470 + 4b20a7c commit 6d47384
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,24 @@ on:
- created

jobs:
build_and_upload_linux_binary:
runs-on: ubuntu-latest
container:
image: crystallang/crystal:latest-alpine
steps:
- uses: actions/checkout@v3
- name: Build
run: shards build --production --release --no-debug --static
- name: Check version matches tag
run: "[[ \"v$(bin/skedjewel --version)\" == ${{ github.ref_name }} ]] || exit 1"
- name: Move and rename
run: mv bin/skedjewel ./skedjewel-${{ github.ref_name }}-linux
- name: Upload release binary
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: skedjewel-${{ github.ref_name }}-linux

build_and_upload_macos_binary:
runs-on: macos-11
steps:
Expand Down
2 changes: 1 addition & 1 deletion src/version.cr
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
class Skedjewel
VERSION = "0.0.7.alpha5"
VERSION = "0.0.7.alpha6"
end

0 comments on commit 6d47384

Please sign in to comment.