Skip to content

Commit f3efdfe

Browse files
authored
CI/CD: Fix publishing crate part (#87)
* fix: comment out publish crate part * fix: remove comment
1 parent 506a538 commit f3efdfe

File tree

1 file changed

+4
-21
lines changed

1 file changed

+4
-21
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -88,30 +88,13 @@ jobs:
8888
echo "version=$VERSION" >> $GITHUB_OUTPUT
8989
echo "Building $CRATE_NAME version $VERSION for ${{ matrix.target }}"
9090
91-
# - name: Publish Crate
92-
# id: publish
91+
- name: Publish Crate
92+
id: publish
9393
# working-directory: ${{ inputs.package_path }}
9494
# # env:
9595
# # CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
96-
# run: |
97-
# # Get current version before update
98-
# OLD_VERSION=$(grep -m1 'version =' Cargo.toml | cut -d '"' -f2)
99-
100-
# if [ "${{ inputs.dry_run }}" == "true" ]; then
101-
# # For dry-run mode, don't use the -x flag (dry-run is default)
102-
# cargo release ${{ inputs.level }} --no-confirm --no-push
103-
# else
104-
# # For actual execution, use the -x flag
105-
# cargo release ${{ inputs.level }} --no-confirm -x
106-
# fi
107-
108-
# # Get new version after update
109-
# NEW_VERSION=$(grep -m1 'version =' Cargo.toml | cut -d '"' -f2)
110-
111-
# # Set outputs for the release step
112-
# echo "old_version=${OLD_VERSION}" >> $GITHUB_OUTPUT
113-
# echo "new_version=${NEW_VERSION}" >> $GITHUB_OUTPUT
114-
# echo "new_git_tag=${{ steps.extract_name.outputs.crate_name }}-v${NEW_VERSION}" >> $GITHUB_OUTPUT
96+
run: |
97+
echo "new_git_tag=${{ steps.extract_name.outputs.crate_name }}-v${NEW_VERSION}" >> $GITHUB_OUTPUT
11598
11699
- name: Generate a changelog
117100
if: github.event.inputs.create_release == 'true'

0 commit comments

Comments
 (0)