Skip to content

Commit

Permalink
put version into variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dtandersen committed Aug 8, 2024
1 parent f003b04 commit 21b133e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ jobs:
# run: dpkg-deb --build nagios-plugins-ets-1.4
- name: Build DEB package
run: |
wget -O ../nagios-plugins-ets_1.4.orig.tar.gz https://github.com/ucsd-ets/nagios-plugins-ets/archive/refs/tags/1.2.tar.gz
tar zxvf ../nagios-plugins-ets_1.4.orig.tar.gz --strip-components=1
## READ VERSION FROM CONTROL FILE
VERSION=1.2
wget -O ../nagios-plugins-ets_${VERSION}.orig.tar.gz https://github.com/ucsd-ets/nagios-plugins-ets/archive/refs/tags/1.2.tar.gz
tar zxvf ../nagios-plugins-ets_${VERSION}.orig.tar.gz --strip-components=1
debuild -us -uc
- name: Extract tag name
Expand Down

0 comments on commit 21b133e

Please sign in to comment.