diff --git a/.github/workflows/IncrementPacletVersion.yml b/.github/workflows/IncrementPacletVersion.yml index 822416b4..9192f688 100644 --- a/.github/workflows/IncrementPacletVersion.yml +++ b/.github/workflows/IncrementPacletVersion.yml @@ -11,6 +11,7 @@ concurrency: env: WOLFRAMSCRIPT_ENTITLEMENTID: ${{ secrets.WOLFRAMSCRIPT_ENTITLEMENTID }} WOLFRAM_SYSTEM_ID: Linux-x86-64 + UPDATE_PACLET_INFO: false jobs: IncrementVersion: diff --git a/Scripts/Common.wl b/Scripts/Common.wl index b79de8d3..25a7cbef 100644 --- a/Scripts/Common.wl +++ b/Scripts/Common.wl @@ -117,6 +117,7 @@ $envSHA = SelectFirst[ ]; $inCICD = StringQ @ $envSHA; +$updatePacletInfo = TrueQ[ $inCICD && ! MatchQ[ Environment[ "UPDATE_PACLET_INFO" ], "false"|"False"|"0" ] ]; (* ::**************************************************************************************************************:: *) (* ::Subsection::Closed:: *) @@ -173,7 +174,7 @@ actionURL[ ] := Enclose[ (*updatePacletInfo*) (* :!CodeAnalysis::BeginBlock:: *) (* :!CodeAnalysis::Disable::SuspiciousSessionSymbol:: *) -updatePacletInfo[ dir_ ] /; $inCICD := Enclose[ +updatePacletInfo[ dir_ ] /; $updatePacletInfo := Enclose[ Module[ { cs, file, string, id, date, url, run, cmt, oldID, new },