Skip to content

Commit 49a2b00

Browse files
committed
chore: add release zip during pipeline
1 parent 4d527c1 commit 49a2b00

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scripts/prepare-release.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,10 @@ cd "$PARENT_DIR" || { echo "Error: Failed to navigate to parent folder."; exit 1
3232

3333
# Update the category.xml file with the new version at the updatesite module
3434
chmod +x ./scripts/update-category.sh
35-
./scripts/update-category.sh ${NEW_VERSION}
35+
./scripts/update-category.sh ${NEW_VERSION}
36+
37+
# Generate target files for the new release
38+
mvn package
39+
40+
# Zip the update site and copy it to the release folder
41+
mkdir release && (cd com.developer.nefarious.zjoule.updatesite/target/repository && zip -r ../../../release/test.zip .)

0 commit comments

Comments
 (0)