Skip to content

Commit 48522ce

Browse files
Merge pull request #8028 from efb4f5ff-1298-471a-8973-3d47447115dc/hotfix-release-v0.23.9
Hotfix release - v0.23.9
2 parents 790062c + 5697a60 commit 48522ce

File tree

3 files changed

+74
-6
lines changed

3 files changed

+74
-6
lines changed

.github/workflows/updateSite.yml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# This is a basic workflow that is manually triggered
2+
3+
name: Update Site Version Number
4+
5+
# Controls when the action will run. Workflow runs when manually triggered using the UI
6+
# or API.
7+
on:
8+
workflow_dispatch:
9+
release:
10+
types: [published]
11+
12+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v5
19+
with:
20+
repository: FreeTubeApp/FreeTubeApp.io
21+
token: ${{ secrets.FLATHUB_TOKEN }}
22+
- name: Get Repo Release List
23+
uses: moustacheful/github-api-exec-action@v0
24+
id: list_results
25+
with:
26+
# Command to execute, (e.g: `pulls.create`), see https://octokit.github.io/rest.js/ for available commands
27+
command: repos.listReleases
28+
payload: >
29+
{
30+
"owner": "FreeTubeApp",
31+
"repo": "FreeTube"
32+
}
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
- name: Create Current Version Variable
36+
uses: bluwy/substitute-string-action@v3
37+
id: current
38+
with:
39+
_input-text: ${{ fromJson(steps.list_results.outputs.result)[0].tag_name }}
40+
-beta: ''
41+
v: ''
42+
- name: Create Previous Version Variable
43+
uses: bluwy/substitute-string-action@v3
44+
id: previous
45+
with:
46+
_input-text: ${{ fromJson(steps.list_results.outputs.result)[1].tag_name }}
47+
-beta: ''
48+
v: ''
49+
- name: Set Master Branch
50+
# Currently the default branch is master, but if that changes later, then this acts as a failsafe.
51+
run: |
52+
git checkout master
53+
- name: Update index.php
54+
run: |
55+
sed -in 's/${{ steps.previous.outputs.result }}/${{ steps.current.outputs.result }}/' src/index.php
56+
- name: Commit Files
57+
uses: stefanzweifel/git-auto-commit-action@v6
58+
with:
59+
# Optional but recommended
60+
# Defaults to "Apply automatic changes"
61+
commit_message: Update version number to v${{ steps.current.outputs.result }}
62+
63+
# Optional options appended to `git-commit`
64+
# See https://git-scm.com/docs/git-commit for a list of available options
65+
commit_options: '--no-verify --signoff'
66+
67+
# Optional: Disable dirty check and always try to create a commit and push
68+
skip_dirty_check: true

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "freetube",
33
"productName": "FreeTube",
44
"description": "A private YouTube client",
5-
"version": "0.23.8",
5+
"version": "0.23.9",
66
"license": "AGPL-3.0-or-later",
77
"main": "./dist/main.js",
88
"private": true,
@@ -74,7 +74,7 @@
7474
"vue-observe-visibility": "^1.0.0",
7575
"vue-router": "^3.6.5",
7676
"vuex": "^3.6.2",
77-
"youtubei.js": "^15.0.0"
77+
"youtubei.js": "^15.1.1"
7878
},
7979
"devDependencies": {
8080
"@babel/core": "^7.26.7",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9652,10 +9652,10 @@ yocto-queue@^1.0.0:
96529652
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.2.1.tgz#36d7c4739f775b3cbc28e6136e21aa057adec418"
96539653
integrity sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg==
96549654

9655-
youtubei.js@^15.0.0:
9656-
version "15.0.0"
9657-
resolved "https://registry.yarnpkg.com/youtubei.js/-/youtubei.js-15.0.0.tgz#c5ca88c6a1a289846aca2f7ce7147fce1316b40b"
9658-
integrity sha512-giPZREn+q0z8Jr45NUcJUXE7QA2+UD2jx5FR+ULdnexvtHg5uQZr9Am8aYcECPKzbBNe6ksBD1yT4SKNbhpRqA==
9655+
youtubei.js@^15.1.1:
9656+
version "15.1.1"
9657+
resolved "https://registry.yarnpkg.com/youtubei.js/-/youtubei.js-15.1.1.tgz#a5cfbfb24e7e3d4233ec9f245b2a8ade0ad28128"
9658+
integrity sha512-fuEDj9Ky6cAQg93BrRVCbr+GTYNZQAIFZrx/a3oDRuGc3Mf5bS0dQfoYwwgjtSV7sgAKQEEdGtzRdBzOc8g72Q==
96599659
dependencies:
96609660
"@bufbuild/protobuf" "^2.0.0"
96619661
jintr "^3.3.1"

0 commit comments

Comments
 (0)