diff --git a/.gitea/workflows/.varnish-exporter.yml.swp b/.gitea/workflows/.varnish-exporter.yml.swp new file mode 100644 index 0000000..3159939 Binary files /dev/null and b/.gitea/workflows/.varnish-exporter.yml.swp differ diff --git a/.gitea/workflows/varnish-exporter.yml b/.gitea/workflows/varnish-exporter.yml index 5dc40c3..c2075ec 100644 --- a/.gitea/workflows/varnish-exporter.yml +++ b/.gitea/workflows/varnish-exporter.yml @@ -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 " >> varnish-exporter-amd64/DEBIAN/control