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 95
95
BASE_VERSION=$(echo $CURRENT_VERSION | cut -d'a' -f1)
96
96
BETA_VERSION="${BASE_VERSION}b1"
97
97
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))")
105
99
BETA_VERSION="${BASE_VERSION}b1"
106
100
fi
107
101
Original file line number Diff line number Diff line change 98
98
if [[ $CURRENT_VERSION == *"alpha"* ]]; then
99
99
BASE_VERSION=$(echo $CURRENT_VERSION | cut -d'a' -f1)
100
100
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))")
108
102
fi
109
103
110
104
ALPHA_VERSION="${BASE_VERSION}a${DATE_STAMP}.${TIME_STAMP}.${COMMIT_SHORT}"
Original file line number Diff line number Diff line change 28
28
env /
29
29
examples /venv /
30
30
benchmark_env /
31
+ gliner_research_env /
31
32
32
33
# Editors
33
34
* .swp
You can’t perform that action at this time.
0 commit comments