Skip to content

Commit

Permalink
Align versionning + Final workflow definition
Browse files Browse the repository at this point in the history
  • Loading branch information
jetelain committed Dec 23, 2024
1 parent ea1d5d8 commit 82b4d49
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 29 deletions.
36 changes: 9 additions & 27 deletions .github/workflows/release-mods.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Mods Release

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
release:
types: [ "published" ]

Expand Down Expand Up @@ -32,32 +28,18 @@ jobs:
- name: Build cTab Mod
run: hemtt release
working-directory: "@cTab"

- name: Upload
uses: actions/upload-artifact@v4

- uses: Shopify/upload-to-release@master
with:
name: ctab-latest
name: ctab.zip
path: "@cTab/releases/ctab-latest.zip"
repo-token: ${{ secrets.GITHUB_TOKEN }}
content-type: application/zip

- name: Upload
uses: actions/upload-artifact@v4
- uses: Shopify/upload-to-release@master
with:
name: ctab_irl-latest
name: ctab_irl.zip
path: "cTabIRL/@cTabIRL/releases/ctab_irl-latest.zip"

# Created release: @cTab\releases\ctab-latest.zip
# Created release: cTabIRL\@cTabIRL\releases\ctab_irl-latest.zip

# - uses: Shopify/upload-to-release@master
# with:
# name: ctab.zip
# path: "@cTab/releases/ctab-latest.zip"
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# content-type: application/zip
# - uses: Shopify/upload-to-release@master
# with:
# name: ctab_irl.zip
# path: "cTabIRL/@cTabIRL/releases/ctab_irl-latest.zip"
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# content-type: application/zip
repo-token: ${{ secrets.GITHUB_TOKEN }}
content-type: application/zip

4 changes: 2 additions & 2 deletions cTabIRL/@cTabIRL/addons/main/script_version.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define MAJOR 0
#define MINOR 4
#define MAJOR 2
#define MINOR 8
#define PATCH 0
#define BUILD 0

0 comments on commit 82b4d49

Please sign in to comment.