|
75 | 75 | toolchain: [stable] |
76 | 76 | features: |
77 | 77 | - value: "cjk" |
78 | | - package_name: "lindera-py" |
| 78 | + package_name: "lindera-python" |
79 | 79 | package_description: "Python binding for Lindera with CJK dictionaries (IPADIC, ko-dic, CC-CEDICT)" |
80 | 80 | runs-on: ${{ matrix.platform.runner }} |
81 | 81 | steps: |
@@ -113,7 +113,7 @@ jobs: |
113 | 113 | toolchain: [stable] |
114 | 114 | features: |
115 | 115 | - value: "cjk" |
116 | | - package_name: "lindera-py" |
| 116 | + package_name: "lindera-python" |
117 | 117 | package_description: "Python binding for Lindera with CJK dictionaries (IPADIC, ko-dic, CC-CEDICT)" |
118 | 118 | runs-on: ${{ matrix.platform.runner }} |
119 | 119 | steps: |
@@ -151,7 +151,7 @@ jobs: |
151 | 151 | toolchain: [stable] |
152 | 152 | features: |
153 | 153 | - value: "cjk" |
154 | | - package_name: "lindera-py" |
| 154 | + package_name: "lindera-python" |
155 | 155 | package_description: "Python binding for Lindera with CJK dictionaries (IPADIC, ko-dic, CC-CEDICT)" |
156 | 156 | runs-on: ${{ matrix.platform.runner }} |
157 | 157 | steps: |
@@ -190,7 +190,7 @@ jobs: |
190 | 190 | toolchain: [stable] |
191 | 191 | features: |
192 | 192 | - value: "cjk" |
193 | | - package_name: "lindera-py" |
| 193 | + package_name: "lindera-python" |
194 | 194 | package_description: "Python binding for Lindera with CJK dictionaries (IPADIC, ko-dic, CC-CEDICT)" |
195 | 195 | runs-on: ${{ matrix.platform.runner }} |
196 | 196 | steps: |
@@ -297,12 +297,12 @@ jobs: |
297 | 297 | toolchain: ${{ matrix.toolchain }} |
298 | 298 | components: rustfmt, clippy |
299 | 299 |
|
300 | | - - name: Publish lindera-py |
| 300 | + - name: Publish lindera-python |
301 | 301 | run: | |
302 | | - LINDERA_PY_VERSION=$(cargo metadata --no-deps --format-version=1 | jq -r '.packages[] | select(.name=="lindera-py") | .version') |
303 | | - LINDERA_PY_VERSIONS=$(curl -s -XGET https://crates.io/api/v1/crates/lindera-py | jq -r 'select(.versions != null) | .versions[].num') |
| 302 | + LINDERA_PY_VERSION=$(cargo metadata --no-deps --format-version=1 | jq -r '.packages[] | select(.name=="lindera-python") | .version') |
| 303 | + LINDERA_PY_VERSIONS=$(curl -s -XGET https://crates.io/api/v1/crates/lindera-python | jq -r 'select(.versions != null) | .versions[].num') |
304 | 304 | if echo ${LINDERA_PY_VERSIONS} | grep ${LINDERA_PY_VERSION} >/dev/null; then |
305 | | - echo "lindera-py ${LINDERA_PY_VERSION} has already published" |
| 305 | + echo "lindera-python ${LINDERA_PY_VERSION} has already published" |
306 | 306 | else |
307 | 307 | cargo publish |
308 | 308 | fi |
|
0 commit comments