use github env
This commit is contained in:
Binary file not shown.
@@ -49,6 +49,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set version to env vars
|
||||||
|
run: |
|
||||||
|
echo "VERSION=${cat .version}" >> $GITHUB_ENV
|
||||||
|
echo "$VERSION"
|
||||||
|
|
||||||
- name: Setup go
|
- name: Setup go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
@@ -72,7 +77,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Prepare amd64 control file
|
- name: Prepare amd64 control file
|
||||||
run: |
|
run: |
|
||||||
VERSION=`cat .version`
|
#VERSION=`cat .version`
|
||||||
echo "Package: varnish-exporter" > varnish-exporter-amd64/DEBIAN/control
|
echo "Package: varnish-exporter" > varnish-exporter-amd64/DEBIAN/control
|
||||||
echo "Version: $VERSION" >> 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
|
echo "Maintainer: Ludovic Cartier <ludovic.cartier@alterway.fr>" >> varnish-exporter-amd64/DEBIAN/control
|
||||||
|
Reference in New Issue
Block a user