File tree Expand file tree Collapse file tree 3 files changed +3
-14
lines changed
Expand file tree Collapse file tree 3 files changed +3
-14
lines changed Original file line number Diff line number Diff line change 9595 BASE_VERSION=$(echo $CURRENT_VERSION | cut -d'a' -f1)
9696 BETA_VERSION="${BASE_VERSION}b1"
9797 else
98- BASE_VERSION=$(python3 -c "
99- version = '$CURRENT_VERSION'
100- parts = version.split('.')
101- parts[1] = str(int(parts[1]) + 1)
102- parts[2] = '0'
103- print('.'.join(parts))
104- " )
98+ BASE_VERSION=$(python3 -c "import sys; version='$CURRENT_VERSION'; parts=version.split('.'); parts[1]=str(int(parts[1])+1); parts[2]='0'; print('.'.join(parts))")
10599 BETA_VERSION="${BASE_VERSION}b1"
106100 fi
107101
Original file line number Diff line number Diff line change 9898 if [[ $CURRENT_VERSION == *"alpha"* ]]; then
9999 BASE_VERSION=$(echo $CURRENT_VERSION | cut -d'a' -f1)
100100 else
101- BASE_VERSION=$(python3 -c "
102- version = '$CURRENT_VERSION'
103- parts = version.split('.')
104- parts[1] = str(int(parts[1]) + 1)
105- parts[2] = '0'
106- print('.'.join(parts))
107- " )
101+ BASE_VERSION=$(python3 -c "import sys; version='$CURRENT_VERSION'; parts=version.split('.'); parts[1]=str(int(parts[1])+1); parts[2]='0'; print('.'.join(parts))")
108102 fi
109103
110104 ALPHA_VERSION="${BASE_VERSION}a${DATE_STAMP}.${TIME_STAMP}.${COMMIT_SHORT}"
Original file line number Diff line number Diff line change 2828env /
2929examples /venv /
3030benchmark_env /
31+ gliner_research_env /
3132
3233# Editors
3334* .swp
You can’t perform that action at this time.
0 commit comments