Bump version to v3.5.1 #42
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & release | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
release: | |
name: Create Release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: "yarn" | |
- name: Install yarn and dependecies | |
run: yarn install --network-timeout 1000000 | |
- name: Build JS & CSS | |
run: yarn run build | |
# zip -r weewx-wdc-1.zip . -x *.git* /*node_modules/* /*.vscode/* /*.parcel-cache/* /*.yarn/* .eslintrc.json .prettierignore .prettierrc.json package.json tsconfig.json yarn.lock playwright.config.ts .yarnrc .yarnrc.yml webpack.config.js /*test/* /*skins/weewx-wdc/src/* | |
- name: Archive Release (zip) | |
uses: thedoctor0/zip-release@master | |
with: | |
type: "zip" | |
filename: "weewx-wdc-${{github.ref_name}}.zip" | |
exclusions: "*.git* /*node_modules/* /*.vscode/* /*.parcel-cache/* /*.yarn/* .eslintrc.json .prettierignore .prettierrc.json package.json tsconfig.json yarn.lock playwright.config.ts .yarnrc .yarnrc.yml webpack.config.js /*test/* /*skins/weewx-wdc/src/*" | |
- uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "weewx-wdc-${{github.ref_name}}.zip" | |
draft: true | |
prerelease: false | |
generateReleaseNotes: true | |
bodyFile: changelog.md | |
token: ${{ secrets.GITHUB_TOKEN }} |