Compare commits

...

6 Commits
0.5.1 ... 0.5.2

Author SHA1 Message Date
Viktor Rådberg
39cd3faae2 test 2024-01-13 19:19:30 +01:00
Viktor Rådberg
bdaa8e602f test 2024-01-13 19:18:45 +01:00
Viktor Rådberg
26490103a9 Merge pull request #30 from Vikeo/develop
test pr
2024-01-13 19:14:03 +01:00
Viktor Rådberg
56b07784d5 fix 2024-01-13 19:13:34 +01:00
Viktor Rådberg
4544c689a5 test 2024-01-13 19:12:11 +01:00
Viktor Rådberg
8a7a4b4127 test 2024-01-13 19:11:49 +01:00
2 changed files with 12 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
name: Deploy to Firebase Hosting on merge
name: Deploy to Firebase Hosting
'on':
push:
tags:
@@ -32,28 +32,21 @@ jobs:
# needs: build_and_deploy
runs-on: ubuntu-latest
steps:
- name: Extract version from package.json
- name: get version
id: version
run: echo "::set-output name=version::$(jq -r .version package.json)"
uses: notiz-dev/github-action-json-property@release
with:
path: 'package.json'
prop_path: 'version'
- name: Create Release Note
id: create_release_note
run: echo "Release Note for version ${{ steps.version.outputs.version }}" > release_note.txt
# - name: Release
# uses: 'marvinpinto/action-automatic-releases@latest'
# with:
# repo_token: '${{ secrets.RELEASE_TOKEN }}'
# automatic_release_tag: 'latest'
# prerelease: true
# title: ${{ steps.version.outputs.version }}
# files: release_note.txt
run: echo "Release Note for version ${{ steps.version.outputs.prop }}" > release_note.txt
- name: Create Release
uses: ncipollo/release-action@v1.13.0
with:
artifacts: 'path/to/artifact.tar.gz,another/path/to/artifact.txt' # Add your artifact paths
body: 'Release notes for version ${{ steps.version.outputs.version }}' # Customize your release notes
commit: ${{ github.sha }} # Use the commit hash of the current workflow run
tag: '${{ steps.version.outputs.version }}' # Specify the tag for the release
token: ${{ secrets.RELEASE_TOKEN }} # GitHub token for authentication
body: release_note.txt
commit: ${{ github.sha }}
tag: '${{ steps.version.outputs.prop }}'
token: ${{ secrets.RELEASE_TOKEN }}

View File

@@ -1,7 +1,7 @@
{
"name": "life-trinket",
"private": true,
"version": "0.5.1",
"version": "0.5.2",
"type": "commonjs",
"engines": {
"node": ">=18",