diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3986d2..fbca50f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,10 +78,9 @@ jobs: # Move all binaries to current directory mv artifacts/*/* . - # Create release with all binaries - gh release create ${{ github.ref_name }} \ - --title "Release ${{ github.ref_name }}" \ - --notes "Release ${{ github.ref_name }} of poc-requests-go - A Go client library for Cognite Data Fusion (CDF) APIs + # Create release notes file + cat > release-notes.md << 'EOF' +Release ${{ github.ref_name }} of poc-requests-go - A Go client library for Cognite Data Fusion (CDF) APIs ## Features - **Time Series API** support: @@ -102,9 +101,9 @@ jobs: ## Installation ### Using go get -\`\`\`bash +```bash go get github.com/evertoncolling/poc-requests-go -\`\`\` +``` ### Using pre-built binaries Download the appropriate binary for your platform from the assets below. @@ -114,5 +113,11 @@ Download the appropriate binary for your platform from the assets below. - Valid CDF credentials (client ID, secret, tenant ID) ## Documentation -See the [README](https://github.com/evertoncolling/poc-requests-go/blob/main/README.md) for detailed usage examples and API documentation." \ +See the [README](https://github.com/evertoncolling/poc-requests-go/blob/main/README.md) for detailed usage examples and API documentation. +EOF + + # Create release with all binaries + gh release create ${{ github.ref_name }} \ + --title "Release ${{ github.ref_name }}" \ + --notes-file release-notes.md \ *.tar.gz *.zip \ No newline at end of file