Skip to content
This repository was archived by the owner on Apr 10, 2024. It is now read-only.

Commit 6cbac5b

Browse files
committed
Release v0.1.7
1 parent 82e64ed commit 6cbac5b

File tree

2 files changed

+52
-4
lines changed

2 files changed

+52
-4
lines changed

.github/workflows/release.yml

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- v[0-9]+.[0-9]+.[0-9]+
7+
8+
jobs:
9+
release:
10+
name: Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Get version from tag
14+
id: tag_name
15+
run: echo current_version=${GITHUB_REF_NAME#v} >> $GITHUB_OUTPUT
16+
17+
- name: Checkout
18+
uses: actions/checkout@v3
19+
20+
- name: Get changelog entry
21+
id: changelog_reader
22+
uses: mindsers/changelog-reader-action@v2
23+
with:
24+
version: ${{ steps.tag_name.outputs.current_version }}
25+
validation_level: error
26+
27+
- name: Create release
28+
uses: softprops/action-gh-release@v1
29+
with:
30+
body: ${{ steps.changelog_reader.outputs.changes }}
31+
32+
upload-assets:
33+
name: Upload assets
34+
runs-on: ubuntu-latest
35+
strategy:
36+
matrix:
37+
target:
38+
- x86_64-unknown-linux-gnu
39+
- x86_64-unknown-linux-musl
40+
- aarch64-unknown-linux-gnu
41+
- aarch64-unknown-linux-musl
42+
steps:
43+
- name: Checkout
44+
uses: actions/checkout@v3
45+
46+
- name: Upload assets
47+
uses: taiki-e/upload-rust-binary-action@v1
48+
with:
49+
bin: haddock
50+
token: ${{ secrets.GITHUB_TOKEN }}
51+
target: ${{ matrix.target }}

CHANGELOG.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2525

2626
## [0.1.4] - 2023-02-12
2727

28-
### Added
29-
30-
- Ensure that bind mounts that do not exist are created.
31-
3228
### Fixed
3329

3430
- Make `stop_grace_period` work.
31+
- Ensure that bind mounts that do not exist are created.
3532

3633
## [0.1.3] - 2023-01-18
3734

0 commit comments

Comments
 (0)