Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mamantoha committed Oct 31, 2023
1 parent dea0d7a commit 6b50873
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Release

on:
push:
pull_request:

tags:
- "*"
jobs:
release:
name: Publish for ${{ matrix.os }}
Expand All @@ -14,8 +14,10 @@ jobs:
os: [ubuntu-latest, macos-latest]
include:
- os: ubuntu-latest
target_name: crympd
asset_suffix: linux-amd64
- os: macos-latest
target_name: crympd
asset_suffix: darwin-amd64
fail-fast: false

Expand All @@ -36,10 +38,11 @@ jobs:
run: |
crystal -v
shards build --release
- uses: actions/upload-artifact@v3
- name: Add binaries to release
uses: svenstaro/upload-release-action@v2
with:
name: crympd_${{ matrix.asset_suffix }}
path: |
bin/crympd
public/
views/
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: bin/${{ matrix.target_name }}
asset_name: ${{ matrix.target_name }}_${{ github.ref_name }}_${{ matrix.asset_suffix }}
tag: ${{ github.ref }}
overwrite: true
4 changes: 2 additions & 2 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: cryMPD
version: 0.1.0
version: 0.2.0

authors:
- Anton Maminov <anton.maminov@gmail.com>
Expand All @@ -17,6 +17,6 @@ targets:
crympd:
main: src/crympd.cr

crystal: 1.7.1
crystal: 1.10.0

license: MIT

0 comments on commit 6b50873

Please sign in to comment.