Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add packager workflow #701

Merged
merged 1 commit into from
Feb 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This is a workflow to package and upload on Curseforge, WoWInterface and GitHub Releases using BigWigs/Packager

name: Release

# Controls when the action will run.
on:
# Package alpha version at midnight UTC every day
schedule:
- cron: '0 0 * * FRI'
# Triggers the workflow on tag events
push:
tags: '*'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
# This workflow contains a single job called "release"
release:
runs-on: ubuntu-latest

env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}
# Looks like ATT wasn't added to WoWInterface
#WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }}

steps:
- uses: actions/checkout@v2
with:
# checkout@v2 doesn't pull tags by default now, which results in super long auto changelog, so pull all history incl. tags
# alternative would be to use checkout@v1
fetch-depth: 0

# once cloned, we just run the GitHub Action for the packager project
- name: Package and release
# using my fork with the dirty hack until https://github.com/BigWigsMods/packager/issues/78 gets resolved one way or another
uses: Molkree/packager@changelog-title-hack
10 changes: 2 additions & 8 deletions .pkgmeta
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,13 @@ externals:
move-folders:

ignore: # Files and directories beginning with a dot (such as .git) are automatically ignored, as is the pgkmeta file itself.
- contrib
- .editorconfig
- .gitattributes
- .gitignore
- _config.yml
- _config.yml

required-dependencies:

optional-dependencies:

manual-changelog: CHANGELOG.txt

license-output: LICENSE.txt

tools-used:
- data-tools
- data-tools
3 changes: 2 additions & 1 deletion AllTheThings.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
## Interface: 90002
## X-Curse-Project-ID: 267285
## Title: .|TInterface\Addons\AllTheThings\assets\logo_32x32:0|t AllTheThings |TInterface\Addons\AllTheThings\assets\logo_32x32:0|t
# Changelog Title: AllTheThings
## Name: AllTheThings
## SavedVariables: AllTheThingsSettings, AllTheThingsAD, AllTheThingsAuctionConfig, AllTheThingsAuctionData, AllTheThingsDebugData, AllTheThingsHarvestItems
## SavedVariablesPerCharacter: AllTheThingsSettingsPerCharacter
## Notes: Addon for Tracking Collections & Account Completion
## Version: 2.2.4
## Version: @project-version@
lib\LibStub\LibStub.lua
lib\CallbackHandler-1.0\CallbackHandler-1.0.lua
lib\LibDataBroker-1.1\LibDataBroker-1.1.lua
Expand Down