Skip to content

Commit

Permalink
Fix publish workflow fetch depth
Browse files Browse the repository at this point in the history
  • Loading branch information
juhaku committed Feb 14, 2022
1 parent e40d590 commit 3ba5f2e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ env:
CARGO_TERM_COLOR: always

jobs:
draft:
publish:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

with:
fetch-depth: 2

- name: Cargo publish
run: |
echo ${{ secrets.CARGO_LOGIN }} | cargo login
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "utoipa"
description = "Compile time rest API documentation for Rust"
version = "0.1.0-beta.1"
version = "0.1.0-beta.0"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -29,7 +29,7 @@ serde_json = { version = "1.0", optional = true }
rust-embed = { version = "6.3", optional = true, features = ["interpolate-folder-path"] }
actix-web = { version = "3.3", optional = true }
mime_guess = { version = "2.0", optional = true }
utoipa-gen = { version = "0.1.0-beta.1", path = "./utoipa-gen" }
utoipa-gen = { version = "0.1.0-beta.0", path = "./utoipa-gen" }

[dev-dependencies]
paste = "1.0.6"
Expand Down
2 changes: 1 addition & 1 deletion utoipa-gen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "utoipa-gen"
description = "Code generation implementation for utoipa"
version = "0.1.0-beta.1"
version = "0.1.0-beta.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/juhaku/utoipa"
Expand Down

0 comments on commit 3ba5f2e

Please sign in to comment.