Skip to content

Commit 0d72266

Browse files
Merge branch 'dev' into WebFun
2 parents 9d22eec + e4f8028 commit 0d72266

File tree

4 files changed

+11
-20
lines changed

4 files changed

+11
-20
lines changed

.github/workflows/Create-NewReleases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
git push origin ${{ steps.nextver.outputs.tag }}
8686
8787
- name: Create Release with Automated Release Notes
88-
uses: softprops/action-gh-release@v2.1.0
88+
uses: softprops/action-gh-release@v2.2.0
8989
with:
9090
token: ${{ secrets.GITHUB_TOKEN }}
9191
tag_name: ${{ steps.nextver.outputs.tag }}

MerlinAU.sh

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1883,7 +1883,7 @@ _CurlFileDownload_()
18831883
}
18841884

18851885
##----------------------------------------##
1886-
## Modified by Martinski W. [2024-Dec-31] ##
1886+
## Modified by Martinski W. [2025-Jan-01] ##
18871887
##----------------------------------------##
18881888
_SCRIPTUPDATE_()
18891889
{
@@ -1947,7 +1947,7 @@ _SCRIPTUPDATE_()
19471947
echo -e "${CYANct}This will overwrite your currently installed version.${NOct}"
19481948
if _WaitForYESorNO_
19491949
then
1950-
printf "\n\n${CYANct}Downloading $SCRIPT_NAME ${CYANct}v${DLRepoVersion}${NOct}\n"
1950+
printf "\n\n${CYANct}Downloading $SCRIPT_NAME $DLRepoVersion version.${NOct}\n"
19511951

19521952
if _DownloadScriptFiles_
19531953
then
@@ -1956,11 +1956,8 @@ _SCRIPTUPDATE_()
19561956
_Set_Version_SharedSettings_ add "$DLRepoVersion"
19571957
_Create_Symlinks_
19581958
fi
1959-
chmod 755 "$ScriptFilePath"
1960-
echo
19611959
printf "\n${CYANct}Download successful!${NOct}\n"
1962-
printf "\n\n${CYANct}Downloading $SCRIPT_NAME $DLRepoVersion version.${NOct}\n"
1963-
echo
1960+
printf "$(date) - $SCRIPT_NAME - Successfully downloaded $SCRIPT_NAME v${DLRepoVersion}\n"
19641961
fi
19651962
_WaitForEnterKey_
19661963
return
@@ -1974,7 +1971,6 @@ _SCRIPTUPDATE_()
19741971
echo -e "${CYANct}Bingo! New version available! Would you like to update now?${NOct}"
19751972
if _WaitForYESorNO_
19761973
then
1977-
printf "\n\n"
19781974
printf "\n\n${CYANct}Downloading $SCRIPT_NAME $DLRepoVersion version.${NOct}\n"
19791975

19801976
if _DownloadScriptFiles_
@@ -2015,18 +2011,13 @@ _CheckForNewScriptUpdates_()
20152011
[ -s "$SCRIPTVERPATH" ] && DLRepoVersion="$(cat "$SCRIPTVERPATH")"
20162012
rm -f "$SCRIPTVERPATH"
20172013

2018-
# Download the latest version file from the source repository
20192014
if ! _CurlFileDownload_ "${SCRIPT_URL_REPO}/version.txt" "$SCRIPTVERPATH"
20202015
then
20212016
Say "${REDct}**ERROR**${NOct}: Unable to download latest version file for $SCRIPT_NAME."
20222017
scriptUpdateNotify=0
20232018
return 1
20242019
fi
20252020

2026-
if [ $? -ne 0 ] || [ ! -s "$SCRIPTVERPATH" ]
2027-
then scriptUpdateNotify=0 ; return 1 ; fi
2028-
2029-
# Read in its contents for the current version file
20302021
DLRepoVersion="$(cat "$SCRIPTVERPATH")"
20312022
if [ -z "$DLRepoVersion" ]
20322023
then
@@ -2099,7 +2090,7 @@ _CreateEMailContent_()
20992090
fwNewUpdateVersion="$(Get_Custom_Setting "FW_New_Update_Notification_Vers")"
21002091
fi
21012092

2102-
# Remove "_rog" or "_tuf" or -gHASHVALUES or -Gnuton* suffix to avoid version comparison failures #
2093+
# Remove "_rog" or "_tuf" or -gHASHVALUES or -Gnuton* suffix to avoid version comparison failure, can't remove all for proper beta and alpha comparison #
21032094
fwInstalledVersion="$(echo "$fwInstalledVersion" | sed -E 's/(_(rog|tuf)|-g[0-9a-f]{10}|-gnuton[0-9]+)$//')"
21042095

21052096
case "$1" in
@@ -9205,9 +9196,9 @@ _ShowMainMenu_()
92059196
printf "${SEPstr}\n"
92069197
}
92079198

9208-
##------------------------------------------##
9209-
## Modified by ExtremeFiretop [2024-Dec-21] ##
9210-
##------------------------------------------##
9199+
##----------------------------------------##
9200+
## Modified by Martinski W. [2024-Dec-22] ##
9201+
##----------------------------------------##
92119202
_ShowAdvancedOptionsMenu_()
92129203
{
92139204
local BetaProductionSetting VPNAccess currentBackupOption

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MerlinAU - AsusWRT-Merlin Firmware Auto Updater
2-
## v1.3.8
3-
## 2024-Dec-01
2+
## v1.3.9
3+
## 2025-Jan-02
44

55
![image](https://github.com/user-attachments/assets/185f9fe4-acdb-419a-8154-ab6fa6e0fd46)
66
![image](https://github.com/user-attachments/assets/8f22818d-2118-4c47-a54a-e54fb147fd6b)

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.3.8
1+
1.3.9

0 commit comments

Comments
 (0)