Skip to content

1.1.0

1.1.0 #4

Workflow file for this run

name: 'Release on tag'
on:
push:
tags:
- '*'
jobs:
release:
permissions:
contents: write
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install && npm run build && npm pack
- name: Build Changelog
id: github_release
uses: mikepenz/release-changelog-builder-action@v1
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PAT }}
- name: Create Release
uses: ncipollo/release-action@v1
with:
body: ${{steps.github_release.outputs.changelog}}
artifacts: "signalk-to-influxdb2*.tgz"
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PAT }}