move version to prepare section
All checks were successful
/ validate (push) Successful in 4s
/ build (push) Successful in 19s

This commit is contained in:
Ludovic Cartier
2025-07-21 17:50:05 +02:00
parent 15b3466b30
commit d6687ab01e
2 changed files with 1 additions and 5 deletions

Binary file not shown.

View File

@@ -49,11 +49,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Get version
run: |
VERSION=`cat .version`
echo "$VERSION"
- name: Setup go
uses: actions/setup-go@v4
with:
@@ -77,6 +72,7 @@ jobs:
- name: Prepare amd64 control file
run: |
VERSION=`cat .version`
echo "Package: varnish-exporter" > varnish-exporter-amd64/DEBIAN/control
echo "Version: $VERSION" >> varnish-exporter-amd64/DEBIAN/control
echo "Maintainer: Ludovic Cartier <ludovic.cartier@alterway.fr>" >> varnish-exporter-amd64/DEBIAN/control