Skip to content

Commit b4bc3aa

Browse files
committed
Adjust go package structure
1 parent a4a586b commit b4bc3aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ jobs:
4949
# Assuming VERSION is in the format 'major.minor'
5050
IFS='.' read -r MAJOR MINOR <<< "${{ env.VERSION }}"
5151
# Create a Go file with major and minor constants
52-
echo -e "package api\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/version.go
52+
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
55+
run: tar -czvf go-api-files-${{ env.VERSION }}.tar.gz ./api/org/polypheny/prism
5656

5757
- name: Upload ZIP to GitHub Release
5858
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)