Skip to content

Commit 78fa8d6

Browse files
committed
Different versioning string.
1 parent ea38f84 commit 78fa8d6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/dev-packages.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ jobs:
3232
VERSION=$(awk '/^## [0-9]+\.[0-9]+\.[0-9]+/ {print $2; exit}' PowerSync/PowerSync.Common/CHANGELOG.md)
3333
echo "Detected Version: $VERSION"
3434
echo "VERSION=$VERSION" >> $GITHUB_ENV
35-
35+
36+
# <Major>.<Minor>.<Patch>-<Pre-release label>.<Number>
3637
- name: Run Pack
37-
run: dotnet pack -c Release -p:Version=$VERSION-dev.$(date +%Y%m%d).$(git rev-parse --short HEAD) -o ${{ github.workspace }}/output
38+
run: dotnet pack -c Release -p:Version=$VERSION.$(date +%Y%m%d%H%M) -o ${{ github.workspace }}/output
3839

3940
- name: Run Push
4041
run: dotnet nuget push ${{ github.workspace }}\output\*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}

0 commit comments

Comments
 (0)