Skip to content

Latest commit

 

History

History
55 lines (45 loc) · 993 Bytes

development.md

File metadata and controls

55 lines (45 loc) · 993 Bytes

Release workflow

Run all make commands in Git Bash.

1. Update changelog

Add release notes to src/consul/consul_changelog.lua:

["1.0.1"] = {
    common = "...",
    silent = true,
},

2. Bump version & update docs

make bump-version VERSION=1.0.1

(Automatically bumps version and runs make docs-gen)

3. Build release packs

make GAME=Rome2 release
make GAME=Attila release
make GAME=TOB release

Generated .pack files are placed in ./release/.

4. Commit and tag

git add -u
git commit -m "release: bump version to 1.0.1"
git tag v1.0.1
git push origin master --tags

(Pushing a v* tag triggers the release workflow to build packs, publish GitHub Release, and deploy docs)


Documentation

  • Regenerate doc markdown files:

    make docs-gen
  • Preview docs locally:

    cd docs
    npm run docs:dev
  • Deploy docs to GitHub Pages:

    make docs-deploy