Skip to content

Commit c63fcc2

Browse files
authored
Update release.yml
Update release doc
1 parent 2e8ca95 commit c63fcc2

File tree

1 file changed

+25
-23
lines changed

1 file changed

+25
-23
lines changed

.github/workflows/release.yml

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -35,53 +35,55 @@ jobs:
3535
cp proxmox-configurator.sh PECU-${{ env.VERSION }}/
3636
tar -czvf PECU-${{ env.VERSION }}.tar.gz PECU-${{ env.VERSION }}
3737
38-
- name: Crear paquete Debian (.deb)
39-
run: |
40-
mkdir -p pecu-${{ env.VERSION }}/DEBIAN
41-
echo "Package: PECU" > pecu-${{ env.VERSION }}/DEBIAN/control
42-
echo "Version: ${{ env.VERSION }}" >> pecu-${{ env.VERSION }}/DEBIAN/control
43-
echo "Architecture: all" >> pecu-${{ env.VERSION }}/DEBIAN/control
44-
echo "Maintainer: Danilop95" >> pecu-${{ env.VERSION }}/DEBIAN/control
45-
echo "Description: Proxmox Enhanced Configuration Utility" >> pecu-${{ env.VERSION }}/DEBIAN/control
46-
mkdir -p pecu-${{ env.VERSION }}/usr/local/bin/
47-
cp proxmox-configurator.sh pecu-${{ env.VERSION }}/usr/local/bin/pecu
48-
chmod +x pecu-${{ env.VERSION }}/usr/local/bin/pecu
49-
dpkg-deb --build pecu-${{ env.VERSION }} pecu-${{ env.VERSION }}.deb
50-
51-
- name: Crear GitHub Release
38+
- name: Crear o actualizar GitHub Release
5239
uses: softprops/action-gh-release@v2
5340
with:
5441
tag_name: v${{ env.VERSION }}
5542
name: "Release v${{ env.VERSION }}"
43+
update: true
5644
body: |
5745
### What's New in This Update
5846
5947
This update brings several improvements and bug fixes to enhance the performance and reliability of the Proxmox Enhanced Configuration Utility (PECU). Detailed changes include performance optimizations and improved error handling for a smoother experience.
6048
6149
### How to Update
6250
63-
To update your PECU installation, follow one of these methods:
51+
You can update your PECU installation using the source code provided in this release. There are two ways to run this version:
6452
65-
**Direct Execution:**
66-
Run the latest version of the script directly from GitHub by executing:
53+
**Direct Execution (Latest Version):**
54+
Run the script directly from GitHub with this command:
6755
```bash
68-
bash <(curl -sL https://raw.githubusercontent.com/Danilop95/Proxmox-Enhanced-Configuration-Utility/refs/heads/main/proxmox-configurator.sh)
56+
bash <(curl -sL https://raw.githubusercontent.com/Danilop95/Proxmox-Enhanced-Configuration-Utility/v${{ env.VERSION }}/proxmox-configurator.sh)
6957
```
58+
This command fetches and executes the specific version (v${{ env.VERSION }}) of the script.
7059
7160
**Local Installation:**
72-
Clone the repository, set the proper permissions, and run the script locally:
61+
Alternatively, you can automate the entire process by executing the following command:
7362
```bash
74-
git clone https://github.com/Danilop95/Proxmox-Enhanced-Configuration-Utility.git
75-
cd Proxmox-Enhanced-Configuration-Utility
76-
chmod +x proxmox-configurator.sh
63+
wget https://github.com/Danilop95/Proxmox-Enhanced-Configuration-Utility/releases/download/v${{ env.VERSION }}/PECU-${{ env.VERSION }}.tar.gz && \
64+
tar -xzvf PECU-${{ env.VERSION }}.tar.gz && \
65+
cd PECU-${{ env.VERSION }} && \
66+
chmod +x proxmox-configurator.sh && \
7767
sudo ./proxmox-configurator.sh
7868
```
69+
This single command will:
70+
1. Download the source code archive.
71+
2. Extract the archive.
72+
3. Change to the extracted directory.
73+
4. Set executable permissions.
74+
5. Execute the script.
75+
76+
### Important Note
77+
78+
This release is a test release — it's the first time we're implementing automated releases. We apologize for any inconvenience caused by this initial notification. We are working to improve the release process for future versions.
7979
8080
### Support the Project
8181
8282
If you enjoy using PECU and would like to see it continue to improve, consider making a donation. Your support helps maintain and expand this project. Thank you!
83+
84+
Best regards,
85+
Danilop95
8386
draft: false
8487
prerelease: false
8588
files: |
8689
PECU-${{ env.VERSION }}.tar.gz
87-
pecu-${{ env.VERSION }}.deb

0 commit comments

Comments
 (0)