Skip to content

Commit

Permalink
Export version variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Georgy Kirichenko committed Sep 17, 2024
1 parent 7c177c7 commit b6e8635
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
- name: version
run: |
export YANET_VERSION=${{github.ref_name}}
export YANET_VERSION=${YANET_VERSION}
export YANET_VERSION_MAJOR=${YANET_VERSION%.*}
export YANET_VERSION_MINOR=${YANET_VERSION#*.}
export YANET_VERSION_REVISION=${{github.run_number}}
export YANET_VERSION_HASH=${{github.sha}}
export YANET_VERSION_CUSTOM=stable
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
Expand Down

0 comments on commit b6e8635

Please sign in to comment.