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

ModRelease - create new Github Release with optional mod packages

$
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 the new release and previous release

Requirements:

Installation:
  1. Download and extract this repository, move everything from 'ModRelease-master' folder directly into the folder where you keep all cloned 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 top-level directory of the mod's cloned Github repository, use the included mod example as reference.

Usage:
  1. Assuming that all mod files are ready for new release, increase mod version inside mod file and mod readme.
  2. Create new commit. Do not create new tag for release, it will be created automatically as 'mod version' and pushed into online repository.
    optional step: create mod packages (release assets), wait until all packages are created with proper names:
    	ModID-Version.exe
    	ModID-Version.iemod
    	ModID-Version.zip
    
  3. Run #ModRelease.bat (Win) | #ModRelease.command (Mac) | #ModRelease.bat (Lin) and follow further instructions.


Viewing all articles
Browse latest Browse all 11774

Latest Images

Trending Articles



Latest Images