Skip to content

Commit

Permalink
Remove ref-type crate
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Sep 13, 2024
1 parent 5fb514c commit 55f9282
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 227 deletions.
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

0 comments on commit 55f9282

Please sign in to comment.