Skip to content

Commit 22cbac6

Browse files
authored
Merge pull request #94 from DataFog/hotfix/beta-workflow-yaml-syntax
fix(ci): remove indentation from Python code in workflow commands
2 parents a284272 + 10ee653 commit 22cbac6

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/beta-release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ jobs:
106106
else
107107
# If stable, bump minor and add beta (4.1.1 -> 4.2.0)
108108
BASE_VERSION=$(python3 -c "
109-
version = '$CURRENT_VERSION'
110-
parts = version.split('.')
111-
parts[1] = str(int(parts[1]) + 1)
112-
parts[2] = '0'
113-
print('.'.join(parts))
114-
")
109+
version = '$CURRENT_VERSION'
110+
parts = version.split('.')
111+
parts[1] = str(int(parts[1]) + 1)
112+
parts[2] = '0'
113+
print('.'.join(parts))
114+
")
115115
BETA_VERSION="${BASE_VERSION}b1"
116116
fi
117117

.github/workflows/nightly-release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ jobs:
102102
else
103103
# Bump minor version for alpha (4.1.1 -> 4.2.0)
104104
BASE_VERSION=$(python3 -c "
105-
version = '$CURRENT_VERSION'
106-
parts = version.split('.')
107-
parts[1] = str(int(parts[1]) + 1)
108-
parts[2] = '0'
109-
print('.'.join(parts))
110-
")
105+
version = '$CURRENT_VERSION'
106+
parts = version.split('.')
107+
parts[1] = str(int(parts[1]) + 1)
108+
parts[2] = '0'
109+
print('.'.join(parts))
110+
")
111111
fi
112112
113113
ALPHA_VERSION="${BASE_VERSION}a${DATE_STAMP}.${TIME_STAMP}.${COMMIT_SHORT}"

0 commit comments

Comments
 (0)