|
|
|
@ -102,6 +102,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
# This is only to get the next version number so we can set the version before compile
|
|
|
|
|
- name: Conventional Changelog Action
|
|
|
|
|
id: pre-build-changelog
|
|
|
|
|
uses: TriPSs/conventional-changelog-action@v3
|
|
|
|
|
with:
|
|
|
|
|
github-token: ${{ secrets.github_token }}
|
|
|
|
@ -112,13 +113,13 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Output version
|
|
|
|
|
run: |
|
|
|
|
|
echo "outputs: ${{ steps.changelog.outputs }}"
|
|
|
|
|
echo "Version: ${{ steps.changelog.outputs.version }}"
|
|
|
|
|
echo "outputs: ${{ steps.pre-build-changelog.outputs }}"
|
|
|
|
|
echo "Version: ${{ steps.pre-build-changelog.outputs.version }}"
|
|
|
|
|
|
|
|
|
|
- name: Set Backend Version
|
|
|
|
|
run: |
|
|
|
|
|
dotnet tool install -g dotnet-setversion
|
|
|
|
|
setversion -r ${{ steps.changelog.outputs.version }}
|
|
|
|
|
setversion -r ${{ steps.pre-build-changelog.outputs.version }}
|
|
|
|
|
working-directory: src/Ombi
|
|
|
|
|
|
|
|
|
|
- name: Publish Backend ${{ matrix.os }}
|
|
|
|
|