Skip to content

17.0.0

17.0.0 #29

Workflow file for this run

name: GH_RELEASE
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: Install conventional-changelog-cli
run: npm install [email protected]
- name: Generate Changelog-current
run: npm run changelog-current | grep -v "^>" | sed '/^$/d' > ${{ github.workspace }}-CHANGELOG.txt
- name: Build production
run: npm run build.prod
- name: Install zip
uses: montudor/action-zip@v1
- name: Zip output
run: zip -qq -r igo2.zip *
working-directory: dist/igo2
- name: Release
uses: softprops/action-gh-release@v1
with:
body_path: ${{ github.workspace }}-CHANGELOG.txt
files: dist/igo2/igo2.zip
token: ${{ secrets.GITHUB_TOKEN }}