Skip to content

Commit

Permalink
simplified version readout for github action
Browse files Browse the repository at this point in the history
  • Loading branch information
bensteUEM committed Aug 29, 2023
1 parent 619aef4 commit c620561
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image_dev_benste.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v3

- name: Version from Python
run: echo "VERSION=$(python3 -c 'import versions; print(versions.VERSION)')" >> $GITHUB_ENV
run: echo "VERSION=$(python3 ./versions.py)" >> $GITHUB_ENV

- name: SHA_short
run: echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-6)" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-image_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v3

- name: Version from Python
run: echo "VERSION=$(python3 -c 'import versions; print(versions.VERSION)')" >> $GITHUB_ENV
run: echo "VVERSION=$(python3 ./versions.py)" >> $GITHUB_ENV

- name: SHA_short
run: echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-6)" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v3

- name: Version from Python
run: echo "VERSION=$(python3 -c 'import versions; print(versions.VERSION)')" >> $GITHUB_ENV
run: echo "VERSION=$(python3 ./versions.py)" >> $GITHUB_ENV

- name: Set up Python
uses: actions/setup-python@v4.6.1
Expand Down

0 comments on commit c620561

Please sign in to comment.