Skip to content

Commit 70836b3

Browse files
authored
Merge pull request #15 from pir8radio/main
catch up
2 parents 3d44e22 + d508fc2 commit 70836b3

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/docker-image.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,20 @@ jobs:
1717
- name: Checkout code
1818
uses: actions/checkout@v3
1919

20-
- name: Update HTML Meta Tag
20+
- name: Update HTML Meta Tag and package.json Version
2121
run: |
2222
VERSION=$(date '+%y.%m.%d')
23+
# Update the version in index.html
2324
sed -i "s/<meta name=\"version\" content=\"[^\"]*\">/<meta name=\"version\" content=\"$VERSION\">/g" public/index.html
25+
# Update the version in package.json
26+
sed -i "s/\"version\": \"[^\"]*\"/\"version\": \"$VERSION\"/g" package.json
2427
2528
- name: Commit Changes
2629
run: |
2730
git config user.name "github-actions[bot]"
2831
git config user.email "github-actions[bot]@users.noreply.github.com"
29-
git add public/index.html
30-
git commit -m "Update version meta tag to $VERSION"
32+
git add public/index.html package.json
33+
git commit -m "Update version to $VERSION"
3134
git push
3235
3336
- name: Log in to Docker Hub

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
Download Viewarr is a Node.js application designed to fetch and display download queues for [Radarr](https://radarr.video/) and [Sonarr](https://sonarr.tv/). It provides a simple and user-friendly interface to view movies and TV show download queues via a web page.
99

10+
[![image](https://github.com/user-attachments/assets/c439e054-9d2e-486c-a555-defbf66e912d)](https://github.com/pir8radio/DownloadViewarr)
11+
12+
1013
## Docker Image
1114
[![image](https://github.com/user-attachments/assets/2f17bae4-5dc6-4b7d-83b3-da6b7422a536)](https://hub.docker.com/r/pir8radio/downloadviewarr)
1215

0 commit comments

Comments
 (0)