From 82b4d497e4b15303d6aa393b2db3de2d5f607e52 Mon Sep 17 00:00:00 2001 From: Julien Etelain Date: Mon, 23 Dec 2024 11:59:17 +0100 Subject: [PATCH] Align versionning + Final workflow definition --- .github/workflows/release-mods.yml | 36 +++++-------------- .../@cTabIRL/addons/main/script_version.hpp | 4 +-- 2 files changed, 11 insertions(+), 29 deletions(-) diff --git a/.github/workflows/release-mods.yml b/.github/workflows/release-mods.yml index 0f9b001b..c7c81cfe 100644 --- a/.github/workflows/release-mods.yml +++ b/.github/workflows/release-mods.yml @@ -1,10 +1,6 @@ name: Mods Release on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] release: types: [ "published" ] @@ -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 diff --git a/cTabIRL/@cTabIRL/addons/main/script_version.hpp b/cTabIRL/@cTabIRL/addons/main/script_version.hpp index fe48a96f..c8dfd737 100644 --- a/cTabIRL/@cTabIRL/addons/main/script_version.hpp +++ b/cTabIRL/@cTabIRL/addons/main/script_version.hpp @@ -1,4 +1,4 @@ -#define MAJOR 0 -#define MINOR 4 +#define MAJOR 2 +#define MINOR 8 #define PATCH 0 #define BUILD 0