From c8ebe47e9974788ea0e2d1784b8b2ed192037cf7 Mon Sep 17 00:00:00 2001 From: Paul Hebble Date: Mon, 30 Nov 2020 12:40:42 -0600 Subject: [PATCH] Append build number to deb version --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21a7fc0f11..b5dac324d2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,6 +71,8 @@ jobs: echo "::set-output name=version::$VERSION" RPM_VERSION=$(echo $VERSION | sed -e 's/-/_/g') echo "::set-output name=rpm_version::$RPM_VERSION" + DEB_VERSION=${VERSION}.$(date +'%g%j') + echo "::set-output name=deb_version::$DEB_VERSION" - name: Upload ckan.exe uses: actions/upload-release-asset@v1.0.1 env: @@ -95,7 +97,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.release_data.outputs.upload_url }} - asset_path: _build/deb/ckan_${{ steps.release_data.outputs.version }}_all.deb + asset_path: _build/deb/ckan_${{ steps.release_data.outputs.deb_version }}_all.deb asset_name: ckan_${{ steps.release_data.outputs.version }}_all.deb asset_content_type: application/vnd.debian.binary-package - name: Upload ckan-*.rpm