Skip to content

chore: regenerate the changelogs for 1.2.2 and 5.2.2 #682

chore: regenerate the changelogs for 1.2.2 and 5.2.2

chore: regenerate the changelogs for 1.2.2 and 5.2.2 #682

Workflow file for this run

name: Publish Addons
on:
push:
branches: [main]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
# Full history and tags: the changelogs are derived from it, and the release
# notes diff this push against the commit the last publish tagged.
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Validate
run: node resources/scripts/tamhelper.js validate
- name: Check changelogs
run: node resources/scripts/tamhelper.js changelog --check
- name: Build addon ZIPs
run: node resources/scripts/tamhelper.js tam-to-zip --all
- name: Publish release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_EVENT_BEFORE: ${{ github.event.before }}
run: node resources/scripts/tamhelper.js publish-release