Skip to content

Commit

Permalink
Merge pull request #4 from mdwn/try-to-add-auto-publish
Browse files Browse the repository at this point in the history
Attempt to add auto-publishing.
  • Loading branch information
mdwn authored Mar 26, 2024
2 parents 4401408 + b17b008 commit ca17ec1
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: publish
on:
push:
tags:
- 'v.*'

jobs:
# Publishes mtrack to crates.io.
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update apt
run: sudo apt update
- name: Install alsa
run: sudo apt-get install -y libasound2-dev
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Run publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo publish
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# 0.1.1

Removal of unneeded ringbuffer dependency.

# 0.1.0

Initial release.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
name = "mtrack"
description = "A multitrack audio and MIDI player for live performances."
license = "GPL-3.0"
version = "0.1.0"
version = "0.1.1"
authors = ["Michael Wilson <[email protected]>"]
edition = "2021"
repository = "https://github.com/mdwn/mtrack"
readme = "README.md"
Expand Down

0 comments on commit ca17ec1

Please sign in to comment.