Skip to content

Commit

Permalink
Initial Numy Edition rewrite release
Browse files Browse the repository at this point in the history
  • Loading branch information
Numynum committed Sep 7, 2024
1 parent 91a2b63 commit 8a750d2
Show file tree
Hide file tree
Showing 55 changed files with 977 additions and 12,585 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: CI

on:
release:
types: [published]

jobs:
build:

runs-on: ubuntu-latest

env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }}

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Replace toc-versions
uses: NumyAddon/ToCVersions@v1

- name: Create Package
uses: BigWigsMods/packager@v2
with:
args: -S

- name: Prepare for Discord webhook
id: discord-webhook-prep
run: |
echo "ZIP_NAME=$(ls .release/*.zip)" >> $GITHUB_OUTPUT
{
echo 'CHANGELOG<<EOF'
cat .release/*/CHANGELOG.md
echo EOF
} >> "$GITHUB_OUTPUT"
- name: Notify Discord webhook
uses: "tsickert/[email protected]"
with:
webhook-url: "${{secrets.DISCORD_WEBHOOK_URL}}"
content: "[${{ github.repository }}](https://github.com/${{ github.repository }}) New version released: [${{ github.event.release.tag_name }}](https://github.com/${{ github.repository }}/releases/tag/${{ github.event.release.tag_name }})"
username: "NumyAddon"
avatar-url: "https://avatars.githubusercontent.com/u/97855854?s=200&v=4"
filename: ${{ steps.discord-webhook-prep.outputs.ZIP_NAME }}
embed-title: "${{ github.repository }} ${{ github.event.release.tag_name }}"
embed-url: "https://github.com/${{ github.repository }}"
embed-description: "${{ steps.discord-webhook-prep.outputs.CHANGELOG }}"
embed-author-name: "${{ github.event.release.author.login }}"
embed-author-url: "${{ github.event.release.author.html_url }}"
embed-author-icon-url: "${{ github.event.release.author.avatar_url }}"
19 changes: 0 additions & 19 deletions .github/workflows/release.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/tocBump.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: TOC Bump
on:
workflow_dispatch:
inputs:
message:
description: 'Commit message'
required: false
default: 'TOC Bump'

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Get next version
uses: reecetech/[email protected]
id: version
with:
scheme: semver
increment: patch

- name: Create & push empty commit
run: |
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
git config --global user.name "${{ github.actor }}"
git commit --allow-empty -m "${{ github.event.inputs.message }}"
git push
- name: Publish release
uses: softprops/action-gh-release@v1
with:
# this cannot be ${{ secrets.GITHUB_TOKEN }} because that'll block the on release publish workflow from running
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
name: ${{ steps.version.outputs.v-version }}
tag_name: ${{ steps.version.outputs.v-version }}
1 change: 0 additions & 1 deletion .gitignore

This file was deleted.

9 changes: 8 additions & 1 deletion .pkgmeta
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
package-as: DialogKey
externals:
libs/AceAddon-3.0: https://repos.wowace.com/wow/ace3/trunk/AceAddon-3.0
libs/AceConfig-3.0: https://repos.wowace.com/wow/ace3/trunk/AceConfig-3.0
libs/AceEvent-3.0: https://repos.wowace.com/wow/ace3/trunk/AceEvent-3.0
libs/AceGUI-3.0: https://repos.wowace.com/wow/ace3/trunk/AceGUI-3.0
libs/AceHook-3.0: https://repos.wowace.com/wow/ace3/trunk/AceHook-3.0
libs/CallbackHandler-1.0: https://repos.wowace.com/wow/ace3/trunk/CallbackHandler-1.0
libs/LibStub: https://repos.wowace.com/wow/ace3/trunk/LibStub
10 changes: 0 additions & 10 deletions CONTRIBUTIONS.txt

This file was deleted.

10 changes: 0 additions & 10 deletions DialogKey.toc

This file was deleted.

10 changes: 0 additions & 10 deletions DialogKey_Classic.toc

This file was deleted.

19 changes: 19 additions & 0 deletions DialogKey_Numy.toc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## Interface: @toc-version-retail@
## Interface-Retail: @toc-version-retail@
## Interface-Classic: @toc-version-classic@
## Interface-BCC: @toc-version-bcc@
## Interface-Wrath: @toc-version-wrath@
## Interface-Cata: @toc-version-cata@
## Title: DialogKey - Numy edition
## Notes: Lets you hit a key to confirm loot/purchase dialogs, accept/complete quests, select quest rewards, etc. Hit 2 to select a reward then spacebar to complete quests? Easy!
## Author: Numy (previous verions by: Foxthorn, N01ch, FuriousProgrammer)
## Version: @project-version@
## IconTexture: Interface\Addons\DialogKey_Numy\media\icon
## SavedVariables: DialogKeyNumyDB
## OptionalDeps: Immersion
## X-Curse-Project-ID: 1098587
## X-Wago-ID: BKpqVyGE

embeds.xml
options.lua
main.lua
10 changes: 0 additions & 10 deletions DialogKey_Wrath.toc

This file was deleted.

Loading

0 comments on commit 8a750d2

Please sign in to comment.