Skip to content

Commit

Permalink
deb: get version from VERSION file
Browse files Browse the repository at this point in the history
  • Loading branch information
NickVolynkin committed Nov 15, 2023
1 parent 56bd34a commit 6fea0f6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ jobs:
toolset: gcc
arch: x86

- name: Set VERSION variable
# required for building deb packages
# TODO: replace with getting version from git tag or commit SHA1
run: echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV

- name: Configure CMake
env:
BOOST_ROOT: "${{ steps.install-boost.outputs.BOOST_ROOT }}"
Expand Down Expand Up @@ -104,7 +109,7 @@ jobs:
package: proof-generator
package_root: .debpkg
maintainer: =nil; Foundation
version: 0.1
version: ${{ env.VERSION }}
arch: 'amd64'
desc: 'zkllvm proof-generator'

Expand Down

0 comments on commit 6fea0f6

Please sign in to comment.