add profile upload script separate from release script

This commit is contained in:
idk
2022-09-25 17:03:14 -04:00
parent 9a4147c0ed
commit 9eacfaaaab
9 changed files with 45 additions and 6 deletions

39
profiles-upload.sh Executable file
View File

@ -0,0 +1,39 @@
#! /usr/bin/env sh
. ./config.sh
profilezipsum=$(sha256sum src/i2p.chromium.base.profile.zip)
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "Chromium strict extensions ${profilezipsum}" \
--name "i2p.chromium.base.profile.zip" \
--file "src/i2p.chromium.base.profile.zip" \
--replace
echo "Uploaded Chromium base profile"
profilezipsum=$(sha256sum src/i2p.chromium.usability.profile.zip)
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "Chromium usability extensions ${profilezipsum}" \
--name "i2p.chromium.usability.profile.zip" \
--file "src/i2p.chromium.usability.profile.zip" \
--replace
echo "Uploaded Chromium usability profile"
profilezipsum=$(sha256sum src/i2p.firefox.base.profile.zip)
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "Firefox strict profile ${profilezipsum}" \
--name "i2p.firefox.base.profile.zip" \
--file "src/i2p.firefox.base.profile.zip" \
--replace
echo "Uploaded Firefox base profile"
profilezipsum=$(sha256sum src/i2p.firefox.usability.profile.zip)
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "Firefox usability profile ${profilezipsum}" \
--name "i2p.firefox.usability.profile.zip" \
--file "src/i2p.firefox.usability.profile.zip" \
--replace
echo "Uploaded Firefox usability profile"

View File

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Sun Sep 25 16:21:47 EDT 2022
build.number=108
#Sun Sep 25 16:33:01 EDT 2022
build.number=109

Binary file not shown.

View File

@ -1,5 +1,5 @@
Profile Version
===============
1.0.0-107
1.0.0-108

View File

@ -1,5 +1,5 @@
Profile Version
===============
1.0.0-107
1.0.0-108

Binary file not shown.

View File

@ -1,5 +1,5 @@
Profile Version
===============
1.0.0-107
1.0.0-108

View File

@ -1,5 +1,5 @@
Profile Version
===============
1.0.0-107
1.0.0-108