Skip to content

Commit ca0b4cd

Browse files
committed
Adjust structure of resulting go .tar.gz
1 parent b4bc3aa commit ca0b4cd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish-go.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ jobs:
5252
echo -e "package prism\n\n// MajorVersion - Major component of the API version\nconst MajorVersion = $MAJOR\n\n// MinorVersion - Minor component of the API version\nconst MinorVersion = $MINOR" > ./api/org/polypheny/prism/version.go
5353
5454
- name: Package Generated Files
55-
run: tar -czvf go-api-files-${{ env.VERSION }}.tar.gz ./api/org/polypheny/prism
55+
run: |
56+
mv -v ./api/org/polypheny/* ./api/
57+
rm -rf ./api/org
58+
tar -czvf go-api-files-${{ env.VERSION }}.tar.gz ./api
5659
5760
- name: Upload ZIP to GitHub Release
5861
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)