Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
yruslan committed Jan 30, 2024
1 parent 3c91c9c commit af94f39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
workflow_dispatch:

# temporary
#pull_request:
# branches: [ main ]
pull_request:
branches: [ main ]

defaults:
run:
Expand Down Expand Up @@ -62,9 +62,10 @@ jobs:
env:
VERSION: ${{ steps.release_branch1.outputs.VERSION }}
run: |
PY_VERSION=$(grep -m 1 ^version pyproject.toml | tr -s ' ' | tr -d '"' | tr -d "'" | cut -d' ' -f3)
PY_VERSION="1.7.5rc1"
#$(grep -m 1 ^version pyproject.toml | tr -s ' ' | tr -d '"' | tr -d "'" | cut -d' ' -f3)
if [[ "$PY_VERSION" != "$VERSION" ]]; then
sed -i "s/version = \"$PY_VERSION\"/version = \"$VERSION\"/g" pyproject.toml
sed -i "s/version = \"$VERSION\"/version = \"$PY_VERSION\"/g" pyproject.toml
git add pyproject.toml
git commit -m "Update version number to $VERSION"
git push
Expand Down
2 changes: 1 addition & 1 deletion pramen-py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ testpaths = "tests/"

[tool.poetry]
name = "pramen-py"
version = "1.7.5"
version = "1.7.5rc1"
description = "Pramen transformations written in python"
authors = [
"Artem Zhukov <iam@zhukovgreen.pro>",
Expand Down

0 comments on commit af94f39

Please sign in to comment.