Skip to content

Commit

Permalink
Don't set other paclet properties in the increment version action
Browse files Browse the repository at this point in the history
  • Loading branch information
rhennigan committed Dec 31, 2024
1 parent 2a4ec09 commit 049d852
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/IncrementPacletVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ concurrency:
env:
WOLFRAMSCRIPT_ENTITLEMENTID: ${{ secrets.WOLFRAMSCRIPT_ENTITLEMENTID }}
WOLFRAM_SYSTEM_ID: Linux-x86-64
UPDATE_PACLET_INFO: false

jobs:
IncrementVersion:
Expand Down
3 changes: 2 additions & 1 deletion Scripts/Common.wl
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ $envSHA = SelectFirst[
];

$inCICD = StringQ @ $envSHA;
$updatePacletInfo = TrueQ[ $inCICD && ! MatchQ[ Environment[ "UPDATE_PACLET_INFO" ], "false"|"False"|"0" ] ];

(* ::**************************************************************************************************************:: *)
(* ::Subsection::Closed:: *)
Expand Down Expand Up @@ -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 },

Expand Down

0 comments on commit 049d852

Please sign in to comment.