Skip to content

Commit 04bfbae

Browse files
committed
fix: testdata/surefire asset releases must not claim 'latest'
okapi-testdata-* and okapi-surefire-* are asset releases (test data / reports); without --latest=false they steal the repo's 'latest' pointer from the real v* release. Pin make_latest=false on creation.
1 parent 33d0b45 commit 04bfbae

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/publish-okapi-surefire.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ gh release create "$RELEASE_TAG" \
175175
--repo "$GITHUB_REPO" \
176176
--title "Okapi Surefire Reports v${OKAPI_VERSION}" \
177177
--notes "$RELEASE_BODY" \
178+
--latest=false \
178179
"$WORK_DIR/$ASSET_NAME"
179180

180181
echo ""

scripts/publish-okapi-testdata.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ gh release create "$RELEASE_TAG" \
149149
--repo "$GITHUB_REPO" \
150150
--title "Okapi Test Data v${OKAPI_VERSION}" \
151151
--notes "$RELEASE_BODY" \
152+
--latest=false \
152153
"$WORK_DIR/$ASSET_NAME"
153154

154155
echo ""

0 commit comments

Comments
 (0)