Skip to content

Commit

Permalink
Append build number to deb version
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Nov 30, 2020
1 parent 41a15fd commit c8ebe47
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit c8ebe47

Please sign in to comment.