Skip to content

Bump version to 3.0.2 #10

Bump version to 3.0.2

Bump version to 3.0.2 #10

Workflow file for this run

name: Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Package project
run: |
./package.sh
- name: Set release version
run: echo "RELEASE_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV
- name: Create Release
id: create_release
uses: softprops/action-gh-release@c9b46fe7aad9f02afd89b12450b780f52dacfb2d
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
netatmo-energy-adapter-${{ env.RELEASE_VERSION }}.tgz
netatmo-energy-adapter-${{ env.RELEASE_VERSION }}.tgz.sha256sum