Skip to content

Commit 78853a4

Browse files
committed
fix: crate info, release workflow
1 parent f0c34f7 commit 78853a4

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Releases
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
changelog:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: conventional Changelog Action
15+
id: changelog
16+
uses: TriPSs/conventional-changelog-action@v3.7.1
17+
with:
18+
github-token: ${{ secrets.GITHUB_TOKEN }}
19+
version-file: "Cargo.toml"
20+
version-path: "package.version"
21+
22+
- name: create release
23+
uses: actions/create-release@v1
24+
if: ${{ steps.changelog.outputs.skipped == 'false' }}
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
with:
28+
tag_name: ${{ steps.changelog.outputs.tag }}
29+
release_name: ${{ steps.changelog.outputs.tag }}
30+
body: ${{ steps.changelog.outputs.clean_changelog }}

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ version = "0.0.1"
44
edition = "2021"
55
authors = ["Jürgen Legler <jogihoogi@gmail.com>"]
66
license = "MIT"
7+
homepage = "https://github.com/jogi1/quakeworld"
8+
repository = "https://github.com/jogi1/quakeworld"
79
description = """
810
A collection of quakeworld related libraries.
911
"""

0 commit comments

Comments
 (0)