mirror of
https://github.com/Furglitch/modorganizer2-linux-installer.git
synced 2026-05-19 14:05:44 -04:00
Merge build-release workflow changes 'master' into prerelease
This commit is contained in:
18
.github/build-changelog.json
vendored
18
.github/build-changelog.json
vendored
@@ -1,26 +1,28 @@
|
||||
{
|
||||
"categories": [
|
||||
{
|
||||
"title": "## 🚀 Features",
|
||||
"title": "## Features",
|
||||
"labels": ["enhancement"]
|
||||
},
|
||||
{
|
||||
"title": "## 🐛 Bugfixes",
|
||||
"title": "## Bugfixes",
|
||||
"labels": ["bug"]
|
||||
},
|
||||
{
|
||||
"title": "## 📥 Updates",
|
||||
"title": "## Updates",
|
||||
"labels": ["update"]
|
||||
}
|
||||
],
|
||||
"ignore": [
|
||||
"ignore_labels": [
|
||||
"documentation",
|
||||
"duplicate",
|
||||
"good first issue",
|
||||
"help wanted",
|
||||
"invalid",
|
||||
"question",
|
||||
"wontfix",
|
||||
"documentation"
|
||||
"not our bug",
|
||||
"stale",
|
||||
"unconfirmed",
|
||||
"unsupported",
|
||||
"wontfix"
|
||||
],
|
||||
"sort": {
|
||||
"order": "ASC",
|
||||
|
||||
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.2.2
|
||||
|
||||
- name: Set up dependencies
|
||||
run: |
|
||||
@@ -36,9 +36,20 @@ jobs:
|
||||
previous_tag=$(gh release list --limit 5 | grep -v 'Pre-release' | awk 'NR==1 {print $1}')
|
||||
echo "::set-output name=previous_tag::${previous_tag}"
|
||||
|
||||
- name: Create tag
|
||||
uses: actions/github-script@v7.0.1
|
||||
with:
|
||||
script: |
|
||||
github.rest.git.createRef({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
ref: 'refs/tags/${{ inputs.version }}',
|
||||
sha: context.sha
|
||||
})
|
||||
|
||||
- name: "Write Changelog"
|
||||
id: build_changelog
|
||||
uses: mikepenz/release-changelog-builder-action@v5
|
||||
uses: mikepenz/release-changelog-builder-action@v5.4.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
@@ -48,7 +59,7 @@ jobs:
|
||||
|
||||
- name: Create GitHub Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
uses: actions/create-release@v1.1.4
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
@@ -59,7 +70,7 @@ jobs:
|
||||
prerelease: true
|
||||
|
||||
- name: Upload Release Asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
uses: actions/upload-release-asset@v1.0.2
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user