mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 21:49:52 +07:00
build: update
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
2bc754c9a1
commit
bbc9904b3e
7
.github/workflows/autobuild.yml
vendored
7
.github/workflows/autobuild.yml
vendored
@ -225,12 +225,12 @@ jobs:
|
|||||||
if: success() && env.ARC_VERSION != ''
|
if: success() && env.ARC_VERSION != ''
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
tag: ${{ env.ARC_VERSION }}-${{ env.ARC_BUILD }}
|
tag: ${{ env.ARC_VERSION }}
|
||||||
prerelease: true
|
prerelease: true
|
||||||
makeLatest: false
|
makeLatest: false
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
body: |
|
body: |
|
||||||
### Notice:
|
### Note:
|
||||||
- Development Build
|
- Development Build
|
||||||
|
|
||||||
### Information:
|
### Information:
|
||||||
@ -243,9 +243,8 @@ jobs:
|
|||||||
- Patches: ${{ env.PATCHTAG }}
|
- Patches: ${{ env.PATCHTAG }}
|
||||||
- Custom: ${{ env.CUSTOMTAG }}
|
- Custom: ${{ env.CUSTOMTAG }}
|
||||||
- LKMs: ${{ env.LKMTAG }}
|
- LKMs: ${{ env.LKMTAG }}
|
||||||
- Theme: ${{ env.THEMETAG }}
|
|
||||||
- Buildroot Next: ${{ env.BRXTAG }}
|
|
||||||
- Buildroot Stable: ${{ env.BRSTAG }}
|
- Buildroot Stable: ${{ env.BRSTAG }}
|
||||||
|
- Buildroot Next: ${{ env.BRXTAG }}
|
||||||
|
|
||||||
### Release
|
### Release
|
||||||
- ${{ env.BUILD_TIME }}
|
- ${{ env.BUILD_TIME }}
|
||||||
|
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -261,12 +261,12 @@ jobs:
|
|||||||
if: success() && env.ARC_VERSION != ''
|
if: success() && env.ARC_VERSION != ''
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
tag: ${{ env.ARC_VERSION }}-${{ env.ARC_BUILD }}
|
tag: ${{ env.ARC_VERSION }}
|
||||||
prerelease: ${{ inputs.prerelease }}
|
prerelease: ${{ inputs.prerelease }}
|
||||||
makeLatest: ${{ inputs.latest }}
|
makeLatest: ${{ inputs.latest }}
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
body: |
|
body: |
|
||||||
### Notice:
|
### Note:
|
||||||
- ${{ inputs.notice }}
|
- ${{ inputs.notice }}
|
||||||
|
|
||||||
### Information:
|
### Information:
|
||||||
@ -283,9 +283,8 @@ jobs:
|
|||||||
- Patches: ${{ env.PATCHTAG }}
|
- Patches: ${{ env.PATCHTAG }}
|
||||||
- Custom: ${{ env.CUSTOMTAG }}
|
- Custom: ${{ env.CUSTOMTAG }}
|
||||||
- LKMs: ${{ env.LKMTAG }}
|
- LKMs: ${{ env.LKMTAG }}
|
||||||
- Theme: ${{ env.THEMETAG }}
|
|
||||||
- Buildroot Next: ${{ env.BRXTAG }}
|
|
||||||
- Buildroot Stable: ${{ env.BRSTAG }}
|
- Buildroot Stable: ${{ env.BRSTAG }}
|
||||||
|
- Buildroot Next: ${{ env.BRXTAG }}
|
||||||
|
|
||||||
### Release
|
### Release
|
||||||
- ${{ env.BUILD_TIME }}
|
- ${{ env.BUILD_TIME }}
|
||||||
|
@ -50,7 +50,7 @@ function updateLoader() {
|
|||||||
sleep 2
|
sleep 2
|
||||||
else
|
else
|
||||||
if [ "${ARCMODE}" == "update" ]; then
|
if [ "${ARCMODE}" == "update" ]; then
|
||||||
dialog --backtitle "$(backtitle)" --title "Update Dependencies" --aspect 18 \
|
dialog --backtitle "$(backtitle)" --title "Update Loader" --aspect 18 \
|
||||||
--infobox "Update failed!\nTry again later." 0 0
|
--infobox "Update failed!\nTry again later." 0 0
|
||||||
sleep 3
|
sleep 3
|
||||||
exec reboot
|
exec reboot
|
||||||
@ -60,7 +60,7 @@ function updateLoader() {
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ "${ARCMODE}" == "update" ]; then
|
if [ "${ARCMODE}" == "update" ]; then
|
||||||
dialog --backtitle "$(backtitle)" --title "Update Dependencies" --aspect 18 \
|
dialog --backtitle "$(backtitle)" --title "Update Loader" --aspect 18 \
|
||||||
--infobox "Update failed!\nTry again later." 0 0
|
--infobox "Update failed!\nTry again later." 0 0
|
||||||
sleep 3
|
sleep 3
|
||||||
exec reboot
|
exec reboot
|
||||||
@ -72,13 +72,13 @@ function updateLoader() {
|
|||||||
[ -n "${ARCCONF}" ] && cp -f "${TMP_PATH}/bak.yml" "${S_FILE}"
|
[ -n "${ARCCONF}" ] && cp -f "${TMP_PATH}/bak.yml" "${S_FILE}"
|
||||||
if [ "${ARCMODE}" == "update" ] && [ "${CONFDONE}" == "true" ]; then
|
if [ "${ARCMODE}" == "update" ] && [ "${CONFDONE}" == "true" ]; then
|
||||||
dialog --backtitle "$(backtitle)" --title "Update Loader" --aspect 18 \
|
dialog --backtitle "$(backtitle)" --title "Update Loader" --aspect 18 \
|
||||||
--infobox "Update successful! -> Reboot to automated Build Mode..." 5 80
|
--infobox "Update successful! -> Reboot to automated Build Mode..." 3 60
|
||||||
sleep 3
|
sleep 3
|
||||||
writeConfigKey "arc.builddone" "false" "${USER_CONFIG_FILE}"
|
writeConfigKey "arc.builddone" "false" "${USER_CONFIG_FILE}"
|
||||||
rebootTo "automated"
|
rebootTo "automated"
|
||||||
else
|
else
|
||||||
dialog --backtitle "$(backtitle)" --title "Update Loader" --aspect 18 \
|
dialog --backtitle "$(backtitle)" --title "Update Loader" --aspect 18 \
|
||||||
--infobox "Update successful! -> Reboot to Config Mode..." 5 80
|
--infobox "Update successful! -> Reboot to Config Mode..." 3 50
|
||||||
sleep 3
|
sleep 3
|
||||||
writeConfigKey "arc.builddone" "false" "${USER_CONFIG_FILE}"
|
writeConfigKey "arc.builddone" "false" "${USER_CONFIG_FILE}"
|
||||||
rebootTo "config"
|
rebootTo "config"
|
||||||
|
Loading…
Reference in New Issue
Block a user