Skip to content

Commit 0f0772a

Browse files
authored
Merge pull request #137 from daithihearn/github-actions3
Github actions
2 parents 00062f4 + 65bc650 commit 0f0772a

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/publish-to-dockerhub.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,14 @@ jobs:
1717
- uses: actions/checkout@v3
1818
- name: Update version in package.json
1919
run: yarn version --no-git-tag-version --new-version ${{ github.ref_name }}
20+
- name: Get version in manifest.json
21+
id: manifestversion
22+
uses: notiz-dev/github-action-json-property@release
23+
with:
24+
path: "public/manifest.json"
25+
prop_path: "version"
2026
- name: Update manifest.json version
27+
if: ${{ steps.manifestversion.outputs.prop !== github.ref_name }}
2128
uses: jossef/action-set-json-field@v2
2229
with:
2330
file: public/manifest.json

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "frontend",
3-
"version": "5.3.3",
3+
"version": "5.3.4",
44
"description": "React frontend for the Cards 110",
55
"author": "Daithi Hearn",
66
"license": "MIT",

public/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"short_name": "Cards 110",
33
"name": "Cards 110",
4-
"version": "5.3.3",
4+
"version": "5.3.4",
55
"icons": [
66
{
77
"src": "./assets/favicon.png",

0 commit comments

Comments
 (0)