Compare commits

...

10 Commits
0.5.1 ... 0.5.3

Author SHA1 Message Date
Viktor Rådberg
481196de9b test 2024-01-13 19:30:42 +01:00
Viktor Rådberg
a136dbd3f9 test 2024-01-13 19:28:50 +01:00
Viktor Rådberg
8d23349dac test 2024-01-13 19:27:25 +01:00
Viktor Rådberg
a7caa46156 test 2024-01-13 19:22:31 +01:00
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 18 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
name: Deploy to Firebase Hosting on merge name: Deploy to Firebase Hosting
'on': 'on':
push: push:
tags: tags:
@@ -31,29 +31,28 @@ jobs:
release: release:
# needs: build_and_deploy # needs: build_and_deploy
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
working-directory: ${{ github.workspace }}
steps: steps:
- name: Extract version from package.json - name: Checkout repository
uses: actions/checkout@v3
- name: get version
id: version id: version
run: echo "::set-output name=version::$(jq -r .version package.json)" uses: notiz-dev/github-action-json-property@v0.2.0
with:
path: 'package.json'
prop_path: 'version'
- name: Create Release Note - name: Create Release Note
id: create_release_note id: create_release_note
run: echo "Release Note for version ${{ steps.version.outputs.version }}" > release_note.txt run: echo "Release Note for version ${{ steps.version.outputs.prop }}" > 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
- name: Create Release - name: Create Release
uses: ncipollo/release-action@v1.13.0 uses: ncipollo/release-action@v1.13.0
with: with:
artifacts: 'path/to/artifact.tar.gz,another/path/to/artifact.txt' # Add your artifact paths body: release_note.txt
body: 'Release notes for version ${{ steps.version.outputs.version }}' # Customize your release notes commit: ${{ github.sha }}
commit: ${{ github.sha }} # Use the commit hash of the current workflow run tag: '${{ steps.version.outputs.prop }}'
tag: '${{ steps.version.outputs.version }}' # Specify the tag for the release token: ${{ secrets.RELEASE_TOKEN }}
token: ${{ secrets.RELEASE_TOKEN }} # GitHub token for authentication

View File

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