Skip to content

Fix ebmc release workflow #552

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

Merged
merged 1 commit into from
Jun 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 15 additions & 19 deletions .github/workflows/ebmc-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,31 +213,27 @@ jobs:
needs: [ubuntu-22_04-package, centos8-package, get-version-information, perform-draft-release]
steps:
- name: Publish release
uses: tubone24/update_release@v1.0
env:
EBMC_VERSION: ${{ needs.get-version-information.outputs.version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ebmc-${{ env.EBMC_VERSION }}
release_name: ebmc-${{ env.EBMC_VERSION }}
id: ${{ needs.perform-draft-release.outputs.id }}
draft: false
prerelease: false
body: |
This is EBMC version ${{ env.EBMC_VERSION }}.
run: |
cat > body << EOM
This is EBMC version ${{ env.EBMC_VERSION }}.

## Ubuntu
## Ubuntu

On Ubuntu, install EBMC by downloading the *.deb package below for your version of Ubuntu and install with
On Ubuntu, install EBMC by downloading the *.deb package below for your version of Ubuntu and install with

```sh
dpkg -i ${{ needs.ubuntu-22_04-package.outputs.deb_package_name }}
```
```sh
dpkg -i ${{ needs.ubuntu-22_04-package.outputs.deb_package_name }}
```

## CentOS
## CentOS

On CentOS, install EBMC by downloading the *.rpm package below for your version of CentOS and install with
On CentOS, install EBMC by downloading the *.rpm package below for your version of CentOS and install with

```sh
rpm -i ${{ needs.centos8-package.outputs.rpm_package_name }}
```
```sh
rpm -i ${{ needs.centos8-package.outputs.rpm_package_name }}
```
EOM
gh release edit ebmc-${{ env.EBMC_VERSION }} --draft=false --notes-file body