Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ref-type crate #2364

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,14 @@ jobs:
run: |
rustup target add aarch64-pc-windows-msvc

- name: Ref Type
id: ref-type
run: cargo run --package ref-type -- --reference ${{ github.ref }} >> $GITHUB_OUTPUT
- name: Release Type
id: release-type
run: |
if [[ ${{ github.ref }} =~ ^refs/tags/[0-9]+[.][0-9]+[.][0-9]+$ ]]; then
echo value=release >> $GITHUB_OUTPUT
else
echo value=prerelease >> $GITHUB_OUTPUT
fi

- name: Generate Completion Scripts and Manpage
run: |
Expand Down Expand Up @@ -102,7 +107,7 @@ jobs:
files: |
${{ steps.package.outputs.archive }}
${{ steps.package.outputs.archive }}.sha256sum
prerelease: ${{ steps.ref-type.outputs.value != 'release' }}
prerelease: ${{ steps.release-type.outputs.value == 'prerelease' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
160 changes: 13 additions & 147 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions crates/ref-type/Cargo.toml

This file was deleted.

25 changes: 0 additions & 25 deletions crates/ref-type/src/main.rs

This file was deleted.

Loading
Loading