forked from FreeTubeApp/FreeTube
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build name convention standardization (FreeTubeApp#6423)
* standardize names for builds * use .deb and .rpm standard pkg name convention * include portable in name for 7z and zip builds * revert portable naming for mac builds * change names in flatpak workflow
- Loading branch information
1 parent
fad52dc
commit 546d893
Showing
3 changed files
with
37 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,24 +51,24 @@ jobs: | |
with: | ||
version: v${{ steps.sub.outputs.result }}-beta | ||
repository: FreeTubeApp/FreeTube | ||
file: freetube-${{ steps.sub.outputs.result }}-linux-portable-x64.zip | ||
file: freetube-${{ steps.sub.outputs.result }}-linux-x64-portable.zip | ||
- name: Download ARM Release | ||
uses: fabriciobastian/[email protected] | ||
with: | ||
version: v${{ steps.sub.outputs.result }}-beta | ||
repository: FreeTubeApp/FreeTube | ||
file: freetube-${{ steps.sub.outputs.result }}-linux-portable-arm64.zip | ||
file: freetube-${{ steps.sub.outputs.result }}-linux-arm64-portable.zip | ||
- name: Set x64 Hash Variable | ||
id: hash-x64 | ||
run: | | ||
echo 'HASH_X64<<EOF' >> $GITHUB_ENV | ||
sha256sum freetube-${{ steps.sub.outputs.result }}-linux-portable-x64.zip | awk '{print $1}' >> $GITHUB_ENV | ||
sha256sum freetube-${{ steps.sub.outputs.result }}-linux-x64-portable.zip | awk '{print $1}' >> $GITHUB_ENV | ||
echo 'EOF' >> $GITHUB_ENV | ||
- name: Set ARM Hash Variable | ||
id: hash-arm64 | ||
run: | | ||
echo 'HASH_ARM64<<EOF' >> $GITHUB_ENV | ||
sha256sum freetube-${{ steps.sub.outputs.result }}-linux-portable-arm64.zip | awk '{print $1}' >> $GITHUB_ENV | ||
sha256sum freetube-${{ steps.sub.outputs.result }}-linux-arm64-portable.zip | awk '{print $1}' >> $GITHUB_ENV | ||
echo 'EOF' >> $GITHUB_ENV | ||
- name: Set Date Variable | ||
id: current-date | ||
|
@@ -80,7 +80,7 @@ jobs: | |
uses: mikefarah/[email protected] | ||
with: | ||
# The Command which should be run | ||
cmd: yq -i '.modules[0].sources[0].url = "https://github.com/FreeTubeApp/FreeTube/releases/download/v${{ steps.sub.outputs.result }}-beta/freetube-${{ steps.sub.outputs.result }}-linux-portable-x64.zip"' io.freetubeapp.FreeTube.yml | ||
cmd: yq -i '.modules[0].sources[0].url = "https://github.com/FreeTubeApp/FreeTube/releases/download/v${{ steps.sub.outputs.result }}-beta/freetube-${{ steps.sub.outputs.result }}-linux-x64-portable.zip"' io.freetubeapp.FreeTube.yml | ||
- name: Update x64 Hash in yml File | ||
uses: mikefarah/[email protected] | ||
with: | ||
|
@@ -90,7 +90,7 @@ jobs: | |
uses: mikefarah/[email protected] | ||
with: | ||
# The Command which should be run | ||
cmd: yq -i '.modules[0].sources[1].url = "https://github.com/FreeTubeApp/FreeTube/releases/download/v${{ steps.sub.outputs.result }}-beta/freetube-${{ steps.sub.outputs.result }}-linux-portable-arm64.zip"' io.freetubeapp.FreeTube.yml | ||
cmd: yq -i '.modules[0].sources[1].url = "https://github.com/FreeTubeApp/FreeTube/releases/download/v${{ steps.sub.outputs.result }}-beta/freetube-${{ steps.sub.outputs.result }}-linux-arm64-portable.zip"' io.freetubeapp.FreeTube.yml | ||
- name: Update ARM Hash in yml File | ||
uses: mikefarah/[email protected] | ||
with: | ||
|
@@ -100,8 +100,8 @@ jobs: | |
run: xmlstarlet ed -L -i /application/releases/release[1] -t elem -n releaseTMP -v "" -i //releaseTMP -t attr -n version -v "${{ steps.sub.outputs.result }} Beta" -i //releaseTMP -t attr -n date -v "${{ env.CURRENT_DATE }}" -s //releaseTMP -t elem -n url -v "" -s //releaseTMP/url -t text -n "" -v "https://github.com/FreeTubeApp/FreeTube/releases/tag/v${{ steps.sub.outputs.result }}-beta" -r //releaseTMP -v "release" io.freetubeapp.FreeTube.metainfo.xml | ||
- name: Remove Release Files | ||
run: | | ||
rm freetube-${{ steps.sub.outputs.result }}-linux-portable-x64.zip | ||
rm freetube-${{ steps.sub.outputs.result }}-linux-portable-arm64.zip | ||
rm freetube-${{ steps.sub.outputs.result }}-linux-x64-portable.zip | ||
rm freetube-${{ steps.sub.outputs.result }}-linux-arm64-portable.zip | ||
- name: Commit Files | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters