Skip to content

Commit 049d852

Browse files
committed
Don't set other paclet properties in the increment version action
1 parent 2a4ec09 commit 049d852

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/IncrementPacletVersion.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ concurrency:
1111
env:
1212
WOLFRAMSCRIPT_ENTITLEMENTID: ${{ secrets.WOLFRAMSCRIPT_ENTITLEMENTID }}
1313
WOLFRAM_SYSTEM_ID: Linux-x86-64
14+
UPDATE_PACLET_INFO: false
1415

1516
jobs:
1617
IncrementVersion:

Scripts/Common.wl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ $envSHA = SelectFirst[
117117
];
118118

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

121122
(* ::**************************************************************************************************************:: *)
122123
(* ::Subsection::Closed:: *)
@@ -173,7 +174,7 @@ actionURL[ ] := Enclose[
173174
(*updatePacletInfo*)
174175
(* :!CodeAnalysis::BeginBlock:: *)
175176
(* :!CodeAnalysis::Disable::SuspiciousSessionSymbol:: *)
176-
updatePacletInfo[ dir_ ] /; $inCICD := Enclose[
177+
updatePacletInfo[ dir_ ] /; $updatePacletInfo := Enclose[
177178
Module[
178179
{ cs, file, string, id, date, url, run, cmt, oldID, new },
179180

0 commit comments

Comments
 (0)