diff --git a/.gitea/workflows/varnish-exporter.yml b/.gitea/workflows/varnish-exporter.yml index 17aa73f..fdf6b1d 100644 --- a/.gitea/workflows/varnish-exporter.yml +++ b/.gitea/workflows/varnish-exporter.yml @@ -50,7 +50,7 @@ jobs: build: needs: validate - #if: needs.validate.outputs.build == 'true' + if: needs.validate.outputs.build == 'true' timeout-minutes: 2 runs-on: ubuntu-latest steps: @@ -95,10 +95,6 @@ jobs: run: | dpkg -b varnish-exporter-amd64 bin/prometheus-varnish-exporter_$VERSION-1_amd64.deb -# - name: Prepare apt repo upload -# run: | -# mv bin/prometheus-varnish-exporter-amd64.deb bin/prometheus-varnish-exporter_$VERSION-1_amd64.deb - - name: Release packages run: | curl -s -u "${{ secrets.PACKAGE_TOKEN }}" --upload-file bin/prometheus-varnish-exporter_$VERSION-1_amd64.deb \ @@ -119,4 +115,4 @@ jobs: SLACK_USERNAME: gitea-bot SLACK_CHANNEL: gitea-actions SLACK_COLOR: "${{ job.status }}" - SLACK_CUSTOM_PAYLOAD: '{"username": "gitea-bot", "icon_url": "https://w7.pngwing.com/pngs/940/571/png-transparent-gitea-hd-logo-thumbnail.png", "text": "varnish-exporter build has just finished in version $VERSION !"}' + SLACK_CUSTOM_PAYLOAD: '{"username": "gitea-bot", "icon_url": "https://w7.pngwing.com/pngs/940/571/png-transparent-gitea-hd-logo-thumbnail.png", "text": "varnish-exporter build has just finished in version ${{ env.VERSION }} !"}' diff --git a/.version b/.version index 9c6d629..347f583 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -1.6.1 +1.4.1