File tree Expand file tree Collapse file tree 2 files changed +10
-14
lines changed Expand file tree Collapse file tree 2 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 3232 uses : actions/upload-artifact@v4
3333 with :
3434 name : silabs-pti
35- path : silabs-pti/build/libs/*.jar
36- overwrite : true
37- - name : Archive license file
38- uses : actions/upload-artifact@v4
39- with :
40- name : silabs-pti
41- path : LICENSE.txt
35+ path : |
36+ silabs-pti/build/libs/*.jar
37+ LICENSE.txt
4238 overwrite : true
Original file line number Diff line number Diff line change 33VERSION=` cat silabs-pti/VERSION`
44TAG=release-${VERSION}
55
6- echo " Preparing release with tag $TAG ..."
7- git tag $TAG
8- if [ $? != 0 ]; then
9- echo " This release already exists. You can not create another one. Aborting..."
10- exit
11- fi
12-
136echo " Clean files from previous release..."
147mkdir -p release
158rm -f release/*
@@ -21,6 +14,13 @@ echo "Add jar files without the version in their names..."
2114cp release/silabs-pti-lib-${VERSION} .jar release/silabs-pti-lib.jar
2215cp release/silabs-pti-${VERSION} .jar release/silabs-pti.jar
2316
17+ echo " Preparing release with tag $TAG ..."
18+ git tag $TAG
19+ if [ $? != 0 ]; then
20+ echo " This release already exists. You can not create another one. Aborting..."
21+ exit
22+ fi
23+
2424echo " Use gh to create a release."
2525git push --tags upstream
2626gh release create $TAG --generate-notes release/*
You can’t perform that action at this time.
0 commit comments