Skip to content

Commit

Permalink
add cargo publishers and fix editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
vedantmgoyal9 committed Feb 12, 2025
1 parent bc71f66 commit b78bf83
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ trim_trailing_whitespace = true
# denotes a line break in Markdown
trim_trailing_whitespace = false

[*.yml]
[*.{yml,yaml}]
indent_size = 2

[{Makefile,**.mk}]
# Use tabs for indentation (Makefiles require tabs)
indent_style = tab
indent_style = tab
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ jobs:
version: nightly
args: continue --merge
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
# macos notarization env vars
34 changes: 34 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,40 @@ release:
---
Released by [GoReleaser](https://github.com/goreleaser/goreleaser).
publishers:
- name: publish rio-window to crates.io
cmd: cargo publish -p rio-window
env:
- CARGO_REGISTRY_TOKEN={{ .Env.CARGO_REGISTRY_TOKEN }}
- name: publish sugarloaf to crates.io
cmd: cargo publish -p sugarloaf
env:
- CARGO_REGISTRY_TOKEN={{ .Env.CARGO_REGISTRY_TOKEN }}
- name: publish rio-proc-macros to crates.io
cmd: cargo publish -p rio-proc-macros
env:
- CARGO_REGISTRY_TOKEN={{ .Env.CARGO_REGISTRY_TOKEN }}
- name: publish copa to crates.io
cmd: cargo publish -p copa
env:
- CARGO_REGISTRY_TOKEN={{ .Env.CARGO_REGISTRY_TOKEN }}
- name: publish corcovado to crates.io
cmd: cargo publish -p corcovado
env:
- CARGO_REGISTRY_TOKEN={{ .Env.CARGO_REGISTRY_TOKEN }}
- name: publish teletypewriter to crates.io
cmd: cargo publish -p teletypewriter
env:
- CARGO_REGISTRY_TOKEN={{ .Env.CARGO_REGISTRY_TOKEN }}
- name: publish rio-backend to crates.io
cmd: cargo publish -p rio-backend
env:
- CARGO_REGISTRY_TOKEN={{ .Env.CARGO_REGISTRY_TOKEN }}
- name: publish rioterm to crates.io
cmd: cargo publish -p rioterm
env:
- CARGO_REGISTRY_TOKEN={{ .Env.CARGO_REGISTRY_TOKEN }}

nightly:
version_template: "{{ incminor .Version }}-nightly"
tag_name: nightly
Expand Down

0 comments on commit b78bf83

Please sign in to comment.