forked from external-repos/LifeTrinket
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8d23349dac | ||
|
|
a7caa46156 | ||
|
|
39cd3faae2 | ||
|
|
bdaa8e602f | ||
|
|
26490103a9 | ||
|
|
56b07784d5 | ||
|
|
4544c689a5 | ||
|
|
8a7a4b4127 |
35
.github/workflows/firebase-release.yml
vendored
35
.github/workflows/firebase-release.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Deploy to Firebase Hosting on merge
|
||||
name: Deploy to Firebase Hosting
|
||||
'on':
|
||||
push:
|
||||
tags:
|
||||
@@ -31,29 +31,28 @@ jobs:
|
||||
release:
|
||||
# needs: build_and_deploy
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
working-directory: ${{ github.workspace }}
|
||||
steps:
|
||||
- name: Extract version from package.json
|
||||
- name: List Repository Contents
|
||||
run: ls -R
|
||||
|
||||
- name: get 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
|
||||
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 }}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "life-trinket",
|
||||
"private": true,
|
||||
"version": "0.5.1",
|
||||
"version": "0.5.2",
|
||||
"type": "commonjs",
|
||||
"engines": {
|
||||
"node": ">=18",
|
||||
|
||||
Reference in New Issue
Block a user