Skip to content

Commit

Permalink
Some prep for crates.io release
Browse files Browse the repository at this point in the history
  • Loading branch information
DervexDev committed May 9, 2024
1 parent f087ad1 commit 711c78e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 10 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,14 @@ jobs:
needs: [build, draft-release]

steps:
- uses: eregon/publish-release@v1
- name: Publish on GitHub
uses: eregon/publish-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release_id: ${{ needs.draft-release.outputs.release_id }}

# - name: Publish on crates.io
# run: cargo publish
# env:
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
5 changes: 1 addition & 4 deletions Cargo.lock

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

18 changes: 13 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
workspace = { members = ["crates/json-formatter"] }
[package]
name = "argon"
name = "argon-rbx"
authors = ["Dervex"]
description = "Full featured tool for Roblox development"
repository = "https://github.com/argon-rbx/argon"
Expand All @@ -11,6 +10,10 @@ version = "2.0.6"
edition = "2021"
build = "build.rs"

[[bin]]
name = "argon"
path = "src/main.rs"

[lib]
name = "argon"
path = "src/lib.rs"
Expand All @@ -30,9 +33,12 @@ json-formatter = { version = "*", path = "crates/json-formatter" }
profiling = { version = "*", path = "crates/profiling/profiling" }

serde = { version = "1.0.189", features = ["derive"] }
rmpv = {version = "1.3.0", features = ["with-serde"] }
rmpv = { version = "1.3.0", features = ["with-serde"] }
clap = { version = "4.4.1", features = ["derive", "cargo"] }
reqwest = { version = "0.11.23", default-features = false, features = ["blocking", "rustls-tls"] }
reqwest = { version = "0.11.23", default-features = false, features = [
"blocking",
"rustls-tls",
] }
self_update = { version = "0.39.0", default-features = false, features = [
"compression-zip-deflate",
"rustls",
Expand Down Expand Up @@ -86,7 +92,9 @@ winsafe = { version = "0.0.20", features = ["user"] }

[build-dependencies]
anyhow = "1.0.79"
self_update = { version = "0.39.0", default-features = false, features = ["rustls"]}
self_update = { version = "0.39.0", default-features = false, features = [
"rustls",
] }

[patch.crates-io]
notify-debouncer-full = { path = "crates/notify-debouncer-full" }
Expand Down

0 comments on commit 711c78e

Please sign in to comment.