Skip to content

Commit 119a395

Browse files
cscoder69claude
andcommitted
Add tag-triggered packaging to CurseForge and GitHub Releases
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 2123312 commit 119a395

3 files changed

Lines changed: 26 additions & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Push a version tag (e.g. v1.0.1) to build the addon zip and upload it to CurseForge and
2+
# GitHub Releases. Needs the repository secret CF_API_KEY (CurseForge API token) and the
3+
# "## X-Curse-Project-ID" line in the .toc.
4+
name: Package and release
5+
6+
on:
7+
push:
8+
tags:
9+
- "v*"
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
16+
env:
17+
CF_API_KEY: ${{ secrets.CF_API_KEY }}
18+
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}
19+
steps:
20+
- uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
23+
24+
- uses: BigWigsMods/packager@v2

‎.pkgmeta‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ package-as: CSCoder_QuestIndicator
33
ignore:
44
- media
55
- README.md
6+
- .github

‎CSCoder_QuestIndicator.toc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## Title: CS.Coder - Quest Indicator
33
## Notes: Floating, animated quest icon over mobs and objects you still need for an active quest.
44
## Author: CS.Coder
5-
## Version: 1.0.0
5+
## Version: @project-version@
66
## SavedVariables: CSCoderQuestIndicatorDB
77

88
CSCoder_QuestIndicator.lua

0 commit comments

Comments
 (0)