Quantcast
Channel: Modding — Beamdog Forums
Viewing all articles
Browse latest Browse all 11774

ModRelease - create new Github Release with optional assets

$
0
0
Hi,

Script for creating new Github Release with optional assets.

Download: https://github.com/InfinityMods/ModRelease/archive/master.zip

Features:
  • cross-platform, single code for Windows, macOS and Linux
  • prevent creating new release if the same release already exist
  • prevent creating new release if there are uncommitted file modifications
  • checking of the mod "VERSION" keyword, prevent creating '2.1.3' release when you mod version is '2.1.2'
  • release description can be edited before creating new release
  • initial release description is generated from commit messages between two latest tags

Requirements:
Installation:
  1. Download and extract this repository, move everything from 'ModRelease-master' folder directly into the folder where you keep all other top-level mod folders.
  2. Open https://github.com/settings/tokens, and create "personal access token" with "public_repo" privilege, it's not you password, you can revoke it at any time, more info here.
  3. Save it to "#ModRelease-Github-Key-Example.txt" file and rename it to #ModRelease-Github-Key.txt
  4. Put #ModRelease.bat inside mod top-level directory, reffer to included mod example.

Usage:
  1. Increase mod version inside mod file.
  2. Create new commit. Do not create new tag for release, it will be created automatically from mod version.
  3. Optionally, create assets, wait until all packages are created with proper names:
    ModId-$tp2Version.exe
    ModId-$tp2Version.iemp
    ModId-$tp2Version.zip
    
  4. Run #ModRelease.bat and follow further instructions.


Viewing all articles
Browse latest Browse all 11774

Latest Images

Trending Articles



Latest Images