Skip to content

Commit

Permalink
debian-build: Use version number so that it can override last release
Browse files Browse the repository at this point in the history
Use a +git syntax and there we use incremental version values.

Finally add the distro version as a minor factor, so that builds on the
same code for different distros only rely on that
  • Loading branch information
3v1n0 committed Feb 26, 2024
1 parent 196404e commit 10a0fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gh-actions/common/build-debian/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ runs:
echo "::endgroup::"
echo "::group::Update debian package changelog"
dch --local "~$(lsb_release -r -s)+git${{ env.VERSION_REF }}" \
dch --local "+git${{ env.VERSION_REF }}~$(lsb_release -r -s)" \
"Github build. Run id: ${{ github.run_id }}. Run number: ${{ github.run_number }}." \
--distribution "$(lsb_release -c -s)"
Expand Down

0 comments on commit 10a0fa4

Please sign in to comment.