File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1- # Action to publish packages under the `next` tag for testing
2- # Packages are versioned as `0.0.0-{tag}-DATETIMESTAMP`
1+ # The version is pulled from the CHANGELOG.md file of the package.
2+ # Added a `-dev.xxx` suffix to the version.
33name : Create Dev Release
44
5- on :
6- push :
5+ on : workflow_dispatch
76
87jobs :
98 dev-release :
Original file line number Diff line number Diff line change 1- # Packages are versioned as the latest entry in their CHANGELOG.md file.
1+ # The version is pulled from the CHANGELOG.md file of the package .
22name : Release
33
44on : workflow_dispatch
3030 VERSION=$(awk '/^## [0-9]+\.[0-9]+\.[0-9]+/ {print $2; exit}' PowerSync/PowerSync.Common/CHANGELOG.md)
3131 echo "Detected Version: $VERSION"
3232 echo "VERSION=$VERSION" >> $GITHUB_ENV
33-
33+
3434 - name : Run Pack
35- run : dotnet pack -c Release -p:Version=$VERSION
35+ run : dotnet pack -c Release -o ${{ github.workspace }}/output
3636
3737 - name : Run Push
38- run : dotnet nuget push PowerSync/PowerSync.Common/bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
38+ run : dotnet nuget push ${{ github.workspace }}\output\*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
39+
Original file line number Diff line number Diff line change 11name : Test Packages
22
3- on : workflow_dispatch
3+ on :
4+ push :
45
56jobs :
67 build :
You can’t perform that action at this time.
0 commit comments