Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jsadowyj committed Mar 7, 2024
1 parent ea702fd commit 9349e76
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,24 @@ jobs:
run: tar -xzvf nagios-plugins-*.tar.gz
- name: Do sensu stuff
run: |
# cd into latest release directory
cd nagios-plugins-*/
pwd
# configure makefile
./configure
# build nagios plugins
make
# rename build directory to a sensu-approved name
mv plugins bin
# delete all non-executable files
find bin -type f ! -executable -delete
# tar the binaries
tar -czpvf sensu-nagios-plugins.tar.gz bin/
# create sha512 sum
sha512sum sensu-nagios-plugins.tar.gz > sha512sum.txt
# move artifacts back to base directory for the release action to see them
mv sensu-nagios-plugins.tar.gz sha512sum.txt ..
- uses: ncipollo/release-action@v1
with:
artifacts: "sensu-nagios-plugins.tar.gz,sha512sum.txt"

0 comments on commit 9349e76

Please sign in to comment.