Skip to content

Commit

Permalink
Fix RPM filename for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Nov 5, 2022
1 parent 5917e37 commit bf92016
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
echo "::set-output name=upload_url::$URL"
VERSION=$(wget -qO- https://api.github.com/repos/$GITHUB_REPOSITORY/releases | jq '.[0].tag_name' | tr -d \"v)
echo "::set-output name=version::$VERSION"
RPM_VERSION=$(echo $VERSION | sed -e 's/-/_/g')
RPM_VERSION=$(echo ${VERSION}.$(date +'%g%j') | 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"
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
with:
upload_url: ${{ steps.release_data.outputs.upload_url }}
asset_path: _build/rpm/RPMS/noarch/ckan-${{ steps.release_data.outputs.rpm_version }}-1.noarch.rpm
asset_name: ckan-${{ steps.release_data.outputs.rpm_version }}-1.noarch.rpm
asset_name: ckan-${{ steps.release_data.outputs.version }}-1.noarch.rpm
asset_content_type: application/x-rpm
- name: Upload AutoUpdater.exe
uses: actions/[email protected]
Expand Down

0 comments on commit bf92016

Please sign in to comment.