Skip to content

Commit

Permalink
prep 1.06 - toc & cl
Browse files Browse the repository at this point in the history
  • Loading branch information
Repooc committed Jul 26, 2024
1 parent 4f83e8d commit 4ed5f95
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 54 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,14 @@ on:
jobs:
Discord_Notification:
runs-on: ubuntu-latest
env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
# WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }}
# GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }}
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set enviroment
shell: bash
run: |
Expand All @@ -24,3 +29,5 @@ jobs:
webhook: ${{ secrets.DISCORD_COMMITS_WEBHOOK }}
message: "\u200B"
embed: '{"title": "**{{ commit.title }}**","description": "{{ commit.description }}\u200B","author": {"name": "{{ commit.author.username }}","icon_url": "https://github.com/{{ commit.author.username }}.png","url": "https://github.com/{{ commit.author.username }}"},"image": {"url": "https://repository-images.githubusercontent.com/482364703/3140862c-8faf-45cd-bd5f-7f62968dbd23"},"fields": [{"name": "AddOn","value": "[{{ github.context.payload.repository.name}}]({{ github.context.payload.repository.html_url }})","inline": true},{"name": "Branch","value": "${{ env.branch }}","inline": true},{"name": "SHA","value": "[${{ env.sha_short }}]({{ commit.url }})","inline": true},{"name": "Diff","value": "[Show Diff]({{ github.context.payload.compare }})","inline": true}]}'
- name: Package and release
uses: BigWigsMods/packager@master
29 changes: 8 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,16 @@ jobs:
RR_AUTHOR_SUPPORT_INFO_NAME: "general-info"
RR_AUTHOR_SUPPORT_INFO_URL: "https://discord.com/channels/1162274244487561216/1171940634672767128"
RR_ADDON_CHANNEL_NAME: "split-actionbars"
RR_ADDON_CHANNEL_URL: "https://discord.com/channels/1162274244487561216/1162288061028237372"
RR_ADDON_CHANNEL_URL: "https://discord.com/channels/1162274244487561216/1266235308471488523"
steps:
- name: Clone Project
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 100
- name: Setup Environment
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Release Job
uses: BigWigsMods/packager@master
- name: Notify Discord
if: success()
uses: repooc/djs-actions@my_changes
with:
id: ${{ secrets.DISCORD_WEBHOOK_ID }}
token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
title: 'New **__${{ github.event.repository.name }}__** *Version Released!*'
description: '[${{ github.event.sender.login }}](${{ github.event.sender.html_url }}) has released a new version of ${{ github.event.repository.name }}!
If you use a wow addon client that can download from either wago addons or curse, then it is recommended that you use that to install/update the addon. You can update how you see fit, even if you want to download manually and install it, go for it. The can grab the addon from the links down below.'
fields: '[{"name": "Released By:", "value": "[${{ github.event.sender.login }}](${{ github.event.sender.html_url }})", "inline": true}, {"name": "Issue Tracker:", "value": "[${{ github.event.repository.name }}](${{ github.event.repository.html_url }}/issues)", "inline": true}, {"name": "Version", "value": "${{ env.RELEASE_VERSION }}", "inline": true}, {"name": "Wago Addons", "value": "[Click Here](${{ env.WAGO_URL }})", "inline": true}, {"name": "Curseforge", "value": "[Click Here](${{ env.CF_URL }})", "inline": true}, {"name": "Changelog", "value": "[Click Here](${{ github.event.repository.html_url }}/blob/main/CHANGELOG.txt)", "inline": true}]'
footer: Repooc Reforged
timestamp: true
- name: Publish
id: publish-to-discord
uses: Crec0/announce-n-crosspost@v1
Expand All @@ -50,14 +37,14 @@ jobs:
bot-token: ${{ secrets.ANNOUNCER_BOT_TOKEN }}
channel: ${{ env.DISCORD_NEWS_CHANNEL_ID }}
content: |
**__${{ github.event.repository.name }}__** **v${{ env.RELEASE_VERSION }}** *has been released!*
You can view the changes made by viewing the [changelog](<${{ github.event.repository.html_url }}/blob/main/CHANGELOG.txt>) here!
**__${{ github.event.repository.name }}__** **v${{ env.RELEASE_VERSION }}** *has been released!*
You can view the changes made by viewing the [changelog](<${{ github.event.repository.html_url }}/blob/main/CHANGELOG.md>) here!
Go grab the new version from [Wago AddOns](<${{ env.WAGO_URL }}>) or [Curse](<${{ env.CF_URL }}>)!
If you would like to help support the work I do, consider supporting me via the [Discord Shop](https://discord.com/servers/repooc-reforged-1162274244487561216) or the other various ways listed in the [${{env.RR_AUTHOR_SUPPORT_INFO_NAME}}](<${{env.RR_AUTHOR_SUPPORT_INFO_URL}}>) channel.
You can get help for the addon in the [${{env.RR_ADDON_CHANNEL_NAME}}](<${{env.RR_ADDON_CHANNEL_URL}}>) support channel!
- name: Print message id
run: echo "Message id = ${{ steps.publish-to-discord.outputs.message-id }}"
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "ElvUI_SplitActionBars/Libs/RepoocReforged-1.0"]
path = ElvUI_SplitActionBars/Libs/RepoocReforged-1.0
url = https://github.com/Repooc/RepoocReforged-1.0
11 changes: 8 additions & 3 deletions .pkgmeta
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
package-as: ElvUI_SplitActionBars
enable-nolib-creation: no
externals:
ElvUI_SplitActionBars/Libs/RepoocReforged-1.0:
url: https://github.com/Repooc/RepoocReforged-1.0
manual-changelog:
filename: CHANGELOG.txt
markup-type: bbcode
filename: CHANGELOG.md
markup-type: markdown
move-folders:
ElvUI_SplitActionBars/ElvUI_SplitActionBars: ElvUI_SplitActionBars
ElvUI_SplitActionBars/ElvUI_SplitActionBars: ElvUI_SplitActionBars
enable-toc-creation: yes
4 changes: 2 additions & 2 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
v1.05 11/12/2023
v1.06 7/25/2023

toc bump for all wow flavors
• bump toc
11 changes: 0 additions & 11 deletions ElvUI_SplitActionBars/ElvUI_SplitActionBars-Classic.toc

This file was deleted.

11 changes: 0 additions & 11 deletions ElvUI_SplitActionBars/ElvUI_SplitActionBars-Wrath.toc

This file was deleted.

8 changes: 5 additions & 3 deletions ElvUI_SplitActionBars/ElvUI_SplitActionBars.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
## Interface: 100200
## Title: |cff1784d1ElvUI|r |cff9482c9Split ActionBars|r
## Interface: 110000
## Interface-Cata: 40400
## Interface-Classic: 11503
## Title: |cff1784d1ElvUI|r |cff00FF98Split|r |cffF48CBAActionBars|r
## Author: Repooc
## Version: 1.05
## Version: 1.06
## Notes: An |cff1784d1ElvUI|r Plugin that allows you to split your actionbars.
## RequiredDeps: ElvUI
## DefaultState: Enabled
Expand Down
3 changes: 3 additions & 0 deletions ElvUI_SplitActionBars/Libs/Load_Libs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<Ui xmlns='http://www.blizzard.com/wow/ui/'>
<Script file="RepoocReforged-1.0\RepoocReforged-1.0.lua" />
</Ui>
1 change: 1 addition & 0 deletions ElvUI_SplitActionBars/Libs/RepoocReforged-1.0
Submodule RepoocReforged-1.0 added at 8e1365
4 changes: 2 additions & 2 deletions ElvUI_SplitActionBars/init.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local E, L, _, P = unpack(ElvUI)
local AB = E.ActionBars
local ACH
local ACH = E.Libs.ACH

-- Set Profile Defaults
for i = 1, 10 do
Expand All @@ -18,7 +18,6 @@ if E.Retail then
end

local function GetOptions()
ACH = E.Libs.ACH
local color = E:ClassColor(E.myclass)

local splitButtonsGroup = ACH:Group(color:WrapTextInColorCode(L["Split Bar (ElvUI Plugin)"]), nil, 29, nil, function(info) return E.db.actionbar[info[#info-3]][info[#info]] end, function(info, value) E.db.actionbar[info[#info-3]][info[#info]] = value AB:PositionAndSizeBar(info[#info-3]) end)
Expand Down Expand Up @@ -100,5 +99,6 @@ local function Initialize()
hooksecurefunc(AB, 'HandleButton', HandleButton)

E.Libs.EP:RegisterPlugin('ElvUI_SplitActionBars', GetOptions)
LibStub('RepoocReforged-1.0'):LoadMainCategory()
end
hooksecurefunc(E, 'LoadAPI', Initialize)

0 comments on commit 4ed5f95

Please sign in to comment.