Skip to content

Commit

Permalink
/version 0.1.1 fix incorrect version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
frankinspace committed May 30, 2024
1 parent 60eebbd commit 1078d22
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/cicd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,14 @@ jobs:
startsWith(github.ref, 'refs/heads/main') &&
steps.manual.conclusion == 'skipped'
id: release
env:
CURRENT_VERSION: ${{ steps.get-version.outputs.current_version }}
# Remove rc* from end of version string
# The ${string%%substring} syntax below deletes the longest match of $substring from back of $string.
run: |
poetry version major
poetry version ${CURRENT_VERSION%%rc*}
echo "software_version=$(poetry version | awk '{print $2}')" >> $GITHUB_ENV
echo "venue=ops" >> $GITHUB_ENV
echo "TARGET_ENV_UPPERCASE=OPS" >> $GITHUB_ENV
- name: Get install version
# Get the version of the software being installed and save it as an ENV var
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "bignbit"
version = "1.0.0"
version = "0.1.1"
description = "Browse image generation and transfer"
authors = ["PO.DAAC <[email protected]>"]
license = "Apache 2.0"
Expand Down

0 comments on commit 1078d22

Please sign in to comment.