DSP-23764 update collectd to version 0.1.7 with Python disabled #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
jobs: | |
release: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build Metric Collector | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
RELEASE_VERSION="${RELEASE_VERSION:1}" | |
./make_package.sh "$RELEASE_VERSION" | |
./make_package.sh "$RELEASE_VERSION" 4.1-beta1 | |
cd package-${RELEASE_VERSION} | |
assets=() | |
for asset in *.{gz,zip}; do | |
assets+=("-a" "$asset") | |
done | |
hub release create "${assets[@]}" -m "v$RELEASE_VERSION" "v$RELEASE_VERSION" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |