Skip to content

Commit

Permalink
Cleaned up the code, renamed things and changed version number
Browse files Browse the repository at this point in the history
  • Loading branch information
Logonz committed Apr 11, 2024
1 parent 71e5ef4 commit 38d7942
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/manual.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow that is manually triggered

name: Manual workflow
name: Release QuestieDB

# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
Expand All @@ -21,7 +21,7 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "greet"
greet:
build_release:
# The type of runner that the job will run on
runs-on: ubuntu-latest

Expand All @@ -30,7 +30,7 @@ jobs:
- name: Check out ${{ github.repository }} code
uses: actions/checkout@v4

- name: Install Lua
- name: Install Lua 5.1.5
uses: leafo/gh-actions-lua@v10
with:
luaVersion: "5.1.5"
Expand All @@ -52,12 +52,9 @@ jobs:
- name: Install requirements
run: pip install -r .generate_database/requirements.txt

- name: ls
run: ls -la && ls -la .lua && ls -la .lua/bin

# Runs a single command using the runners shell
# - name: Generate HTML
# run: sh .generate_database/dumpDB.sh ./.lua/bin/lua
- name: Generate HTML
run: sh .generate_database/dumpDB.sh ./.lua/bin/lua

# Create the QuestieDB build, will output toc_version
- name: Build QuestieDB
Expand All @@ -73,14 +70,15 @@ jobs:
path: './.build/QuestieDB'
filename: './.build/QuestieDB.zip'

- name: ls
run: ls -la .build && ls -la .build/QuestieDB
- name: Build directory 'ls'
run: ls -la .build/QuestieDB

- uses: ncipollo/release-action@v1
- name: Publish release
uses: ncipollo/release-action@v1
with:
artifacts: "./.build/QuestieDB.zip"
name: "Release version ${{ steps.build.outputs.toc_version }}"
body: "Release body"
commit: "${{ github.sha }}"
tag: "${{ github.ref_name }}"
tag: "v${{ steps.build.outputs.toc_version }}"
allowUpdates: true
2 changes: 1 addition & 1 deletion QuestieDB-BCC.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Title: QuestieDB
## Author: Logon (Data: TheCrux/Drejjmit/Muehe/Yttrium/TechnoHunter/Everyone else)
## Notes: A standalone QuestieDB
## Version: 1
## Version: 0.5.0
## RequiredDeps:
## OptionalDeps:
#### SavedVariables: QuestieDB
Expand Down
2 changes: 1 addition & 1 deletion QuestieDB-Classic.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Title: QuestieDB
## Author: Logon (Data: TheCrux/Drejjmit/Muehe/Yttrium/TechnoHunter/Everyone else)
## Notes: A standalone QuestieDB
## Version: 1
## Version: 0.5.0
## RequiredDeps:
## OptionalDeps:
#### SavedVariables: QuestieDB
Expand Down
2 changes: 1 addition & 1 deletion QuestieDB-WOTLKC.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Title: QuestieDB
## Author: Logon (Data: TheCrux/Drejjmit/Muehe/Yttrium/TechnoHunter/Everyone else)
## Notes: A standalone QuestieDB
## Version: 1
## Version: 0.5.0
## RequiredDeps:
## OptionalDeps:
#### SavedVariables: QuestieDB
Expand Down

0 comments on commit 38d7942

Please sign in to comment.