-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added release workflow. Updated changelog.
- Loading branch information
Showing
3 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Build & release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
jobs: | ||
release: | ||
name: Create Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: 🔨 setup node | ||
uses: actions/setup-node@v2 | ||
with: | ||
always-auth: true | ||
node-version: "14" | ||
|
||
- name: 🔨 install yarn and dependecies | ||
run: | | ||
npm i -g yarn | ||
yarn set version latest | ||
yarn install --network-timeout 1000000 | ||
- name: 🚀 Build JS & SCSS | ||
run: yarn run build | ||
|
||
- name: Archive Release | ||
uses: thedoctor0/zip-release@master | ||
with: | ||
type: "zip" | ||
filename: "weewx-wdc-${{github.ref_name}}.zip" | ||
exclusions: "*.git* /*node_modules/* .vscode* .eslintrc.json .prettierignore .prettierrc.json package.json tsconfig.json yarn.lock skins/weewx-wdc/src*" | ||
|
||
- uses: ncipollo/release-action@v1 | ||
with: | ||
artifacts: "weewx-wdc-${{github.ref_name}}.zip" | ||
draft: true | ||
prerelease: true | ||
generateReleaseNotes: true | ||
bodyFile: changelog.md | ||
token: ${{ secrets.GITHUB_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# 1.0.0-alpha1 | ||
|
||
- Basic Theme Structure | ||
- Added pages for: Today, Week, Month, Year, All time stats | ||
- Added Stat Tile | ||
- Added Diagram Tile | ||
- Added basic configs with skin.conf |
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