Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: follow .deb naming conventions #969

Merged
merged 15 commits into from
Jan 12, 2023
Prev Previous commit
Next Next commit
attempt fix to properly name generated files
  • Loading branch information
ClementTsang committed Jan 12, 2023
commit 0dd019e37139098950d85423af7dd0e8d337b48b
5 changes: 4 additions & 1 deletion .github/workflows/build_releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,10 @@ jobs:
run: |
docker pull ${{ matrix.info.container }}
docker run -t --rm --mount type=bind,source="$(pwd)",target=/volume ${{ matrix.info.container }} "--variant ${{ matrix.info.dpkg }} --target ${{ matrix.info.target }} --no-build ${{ steps.custom-version.outputs.CUSTOM_VERSION_ARG }}" "/volume"
cp ./target/${{ matrix.info.target }}/debian/bottom_*.deb .
cp ./target/${{ matrix.info.target }}/debian/bottom-*.deb .
TMP_NAME=$(find bottom-*.deb)
VERSION=${{ matrix.info.dpkg }}
mv $TMP_NAME $(echo $TMP_NAME | sed "s/-$VERSION//")

- name: Verify Debian release
id: verify
Expand Down