Skip to content

Commit 41be3fb

Browse files
committed
increment version
1 parent f518e77 commit 41be3fb

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/build_hyperdrivetypes.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: build and upload hyperdrivetypes wheel
22

33
on:
44
push:
5-
tags:
6-
- "v*"
5+
# tags:
6+
# - "v*"
77

88
jobs:
99

python/hyperdrivetypes/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "hyperdrivetypes"
3-
version = "1.0.18"
3+
version = "1.0.18.1"
44

55
# Authors are the current, primary stewards of the repo
66
# contributors can be found on github

scripts/set-hyperdrivetypes-version.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ echo "writing to $HYPERDRIVETYPES_FILE"
1616
# Check the operating system to use the correct sed syntax
1717
if [[ "$OSTYPE" == "darwin"* ]]; then
1818
# e.g. macOS
19-
sed -i '' -E "s/^(version = \")[0-9]+\.[0-9]+\.[0-9]+(\".*)/\1$VERSION\2/" "$HYPERDRIVETYPES_FILE"
19+
sed -i '' -E "s/^(version = \")[0-9]+\.[0-9]+\.[0-9]+(\.*[0-9]*\".*)/\1$VERSION\2/" "$HYPERDRIVETYPES_FILE"
2020
elif [[ "$OSTYPE" == "linux"* ]]; then
2121
# e.g. Ubuntu
22-
sed -i -E "s/^(version = \")[0-9]+\.[0-9]+\.[0-9]+(\".*)/\1$VERSION\2/" "$HYPERDRIVETYPES_FILE"
22+
sed -i -E "s/^(version = \")[0-9]+\.[0-9]+\.[0-9]+(\.*[0-9]*\".*)/\1$VERSION\2/" "$HYPERDRIVETYPES_FILE"
2323
else
2424
echo "Unsupported OS: $OSTYPE"
2525
# exit 1

scripts/verify-hyperdrivetypes-version.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ VERSION_CONSTANTS=$(sed -n -E 's/.*VERSION = "v([0-9]+\.[0-9]+\.[0-9]+)".*/\1/p'
66

77
# Extract version from hyperdrivetypes
88
init_file="python/hyperdrivetypes/pyproject.toml"
9-
VERSION_INIT=$(sed -n -E 's/version = "([0-9]+\.[0-9]+\.[0-9]+)".*/\1/p' "$init_file")
9+
VERSION_INIT=$(sed -n -E 's/version = "([0-9]+\.[0-9]+\.[0-9]+)\.*[0-9]*".*/\1/p' "$init_file")
1010

1111
# Compare versions
1212
if [ "$VERSION_CONSTANTS" == "$VERSION_INIT" ]; then

0 commit comments

Comments
 (0)