Skip to content

DSP-23764 update collectd to version 0.1.7 with Python disabled #22

DSP-23764 update collectd to version 0.1.7 with Python disabled

DSP-23764 update collectd to version 0.1.7 with Python disabled #22

Workflow file for this run

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 }}