mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-12-15 11:43:31 +01:00
Compare commits
8 Commits
2025-03-07
...
2025-03-09
| Author | SHA1 | Date | |
|---|---|---|---|
| 6ad1ea004f | |||
| a640814ae0 | |||
| 89962b01fa | |||
| b0a06bdc5f | |||
| 54fc60b60e | |||
| 830634517b | |||
| f99fd28fe6 | |||
| 70f96e3bfd |
25
.github/workflows/github-release.yml
vendored
25
.github/workflows/github-release.yml
vendored
@ -4,7 +4,7 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
- cron: '1 0 * * *' # Runs daily at 00:01 UTC
|
- cron: '1 0 * * *' # Runs daily at 00:01 UTC
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
create-daily-release:
|
create-daily-release:
|
||||||
runs-on: runner-cluster-htl-set
|
runs-on: runner-cluster-htl-set
|
||||||
@ -14,32 +14,25 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Extract first 5000 characters from CHANGELOG.md
|
- name: Clean CHANGELOG (remove HTML header)
|
||||||
run: head -c 5000 CHANGELOG.md > changelog_cropped.md
|
run: sed -n '/^## /,$p' CHANGELOG.md > changelog_cleaned.md
|
||||||
|
|
||||||
- name: Debugging - Show extracted changelog
|
|
||||||
run: |
|
|
||||||
echo "=== CHANGELOG EXCERPT ==="
|
|
||||||
cat changelog_cropped.md
|
|
||||||
echo "========================="
|
|
||||||
|
|
||||||
- name: Extract relevant changelog section
|
- name: Extract relevant changelog section
|
||||||
run: |
|
run: |
|
||||||
YESTERDAY=$(date -u --date="yesterday" +%Y-%m-%d)
|
YESTERDAY=$(date -u --date="yesterday" +%Y-%m-%d)
|
||||||
echo "Checking for changes on: $YESTERDAY"
|
echo "Checking for changes on: $YESTERDAY"
|
||||||
|
|
||||||
# Extract relevant section from cropped changelog
|
# Extract the section from "## $YESTERDAY" until the next "## YYYY-MM-DD"
|
||||||
awk -v date="## $YESTERDAY" '
|
sed -n "/^## $YESTERDAY/,/^## [0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}/p" changelog_cleaned.md | head -n -1 > changelog_tmp_full.md
|
||||||
$0 ~ date {found=1; next}
|
|
||||||
found && /^## [0-9]{4}-[0-9]{2}-[0-9]{2}/ {exit}
|
# Truncate the extracted section to 5000 characters
|
||||||
found
|
head -c 5000 changelog_tmp_full.md > changelog_tmp.md
|
||||||
' changelog_cropped.md > changelog_tmp.md
|
|
||||||
|
|
||||||
echo "=== Extracted Changelog ==="
|
echo "=== Extracted Changelog ==="
|
||||||
cat changelog_tmp.md
|
cat changelog_tmp.md
|
||||||
echo "==========================="
|
echo "==========================="
|
||||||
|
|
||||||
# Skip if no content was found
|
# Abort if no content was found
|
||||||
if [ ! -s changelog_tmp.md ]; then
|
if [ ! -s changelog_tmp.md ]; then
|
||||||
echo "No changes found for $YESTERDAY, skipping release."
|
echo "No changes found for $YESTERDAY, skipping release."
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
28
CHANGELOG.md
28
CHANGELOG.md
@ -14,6 +14,34 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
||||||
|
|
||||||
|
|
||||||
|
## 2025-03-09
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- Fix wikijs update issue while backing up data [@AdelRefaat](https://github.com/AdelRefaat) ([#2950](https://github.com/community-scripts/ProxmoxVE/pull/2950))
|
||||||
|
|
||||||
|
### 🧰 Maintenance
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- Improve Release-Action (awk function) [@MickLesk](https://github.com/MickLesk) ([#2934](https://github.com/community-scripts/ProxmoxVE/pull/2934))
|
||||||
|
|
||||||
|
### 🌐 Website
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- Pi-hole interface port in documentation [@la7eralus](https://github.com/la7eralus) ([#2953](https://github.com/community-scripts/ProxmoxVE/pull/2953))
|
||||||
|
|
||||||
|
## 2025-03-08
|
||||||
|
|
||||||
|
### 🌐 Website
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- Update slug to lowercase in pf2etools.json [@PhoenixEmik](https://github.com/PhoenixEmik) ([#2942](https://github.com/community-scripts/ProxmoxVE/pull/2942))
|
||||||
|
|
||||||
## 2025-03-07
|
## 2025-03-07
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
### 🚀 Updated Scripts
|
||||||
|
|||||||
@ -29,6 +29,11 @@ function update_script() {
|
|||||||
fi
|
fi
|
||||||
msg_info "Updating ${APP} (Patience)"
|
msg_info "Updating ${APP} (Patience)"
|
||||||
cd /opt/open-webui
|
cd /opt/open-webui
|
||||||
|
mkdir /opt/open-webui-backup
|
||||||
|
cp -rf /opt/open-webui/backend/data /opt/open-webui-backup
|
||||||
|
git add -A
|
||||||
|
$STD git stash
|
||||||
|
$STD git reset --hard
|
||||||
output=$(git pull --no-rebase)
|
output=$(git pull --no-rebase)
|
||||||
if echo "$output" | grep -q "Already up to date."; then
|
if echo "$output" | grep -q "Already up to date."; then
|
||||||
msg_ok "$APP is already up to date."
|
msg_ok "$APP is already up to date."
|
||||||
@ -40,6 +45,8 @@ function update_script() {
|
|||||||
$STD npm run build
|
$STD npm run build
|
||||||
cd ./backend
|
cd ./backend
|
||||||
$STD pip install -r requirements.txt -U
|
$STD pip install -r requirements.txt -U
|
||||||
|
cp -rf /opt/open-webui-backup/* /opt/open-webui/backend
|
||||||
|
$STD git stash pop
|
||||||
systemctl start open-webui.service
|
systemctl start open-webui.service
|
||||||
msg_ok "Updated Successfully"
|
msg_ok "Updated Successfully"
|
||||||
exit
|
exit
|
||||||
|
|||||||
@ -32,8 +32,11 @@ function update_script() {
|
|||||||
msg_ok "Stopped ${APP}"
|
msg_ok "Stopped ${APP}"
|
||||||
|
|
||||||
msg_info "Backing up Data"
|
msg_info "Backing up Data"
|
||||||
|
rm -rf ~/data-backup
|
||||||
mkdir -p ~/data-backup
|
mkdir -p ~/data-backup
|
||||||
cp -R /opt/wikijs/{db.sqlite,config.yml,/data} ~/data-backup
|
[ -f /opt/wikijs/db.sqlite ] && cp /opt/wikijs/db.sqlite ~/data-backup
|
||||||
|
[ -f /opt/wikijs/config.yml ] && cp /opt/wikijs/config.yml ~/data-backup
|
||||||
|
[ -d /opt/wikijs/data ] && cp -R /opt/wikijs/data ~/data-backup
|
||||||
msg_ok "Backed up Data"
|
msg_ok "Backed up Data"
|
||||||
|
|
||||||
msg_info "Updating ${APP}"
|
msg_info "Updating ${APP}"
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Pf2eTools",
|
"name": "Pf2eTools",
|
||||||
"slug": "Pf2eTools",
|
"slug": "pf2etools",
|
||||||
"categories": [
|
"categories": [
|
||||||
24
|
24
|
||||||
],
|
],
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
"type": "ct",
|
"type": "ct",
|
||||||
"updateable": true,
|
"updateable": true,
|
||||||
"privileged": false,
|
"privileged": false,
|
||||||
"interface_port": 81,
|
"interface_port": 80,
|
||||||
"documentation": "https://docs.pi-hole.net/",
|
"documentation": "https://docs.pi-hole.net/",
|
||||||
"website": "https://pi-hole.net/",
|
"website": "https://pi-hole.net/",
|
||||||
"logo": "https://raw.githubusercontent.com/selfhst/icons/refs/heads/main/svg/pi-hole.svg",
|
"logo": "https://raw.githubusercontent.com/selfhst/icons/refs/heads/main/svg/pi-hole.svg",
|
||||||
|
|||||||
Reference in New Issue
Block a user