Skip to content

Commit fba1a22

Browse files
Update release 0.1.0
1 parent 3fc69ff commit fba1a22

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

Makefile

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,18 @@
3232
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
3333

3434
## ==============
35-
## Git Operations
35+
## Dev Operations
3636
## ==============
3737

38-
push:
38+
dev-push:
3939
@git config credential.helper 'cache --timeout=3600'
4040
@git add .
4141
@git commit -am "Updated at $$(date)" || true
4242
@git push
4343

44+
dev-version:
45+
@grep '^version' Cargo.toml | head -n1 | cut -d '"' -f2
46+
4447
## ==================
4548
## OAS Specifications
4649
## ==================
@@ -78,6 +81,17 @@ release:
7881
install:
7982
@cargo install --path .
8083

84+
## ==================
85+
## Packaging Commands
86+
## ==================
87+
88+
publish:
89+
@git add .
90+
@git commit -m "Update release $$(make -s dev-version)" || true
91+
@git push
92+
@cargo login
93+
@cargo publish
94+
8195
## =======
8296
## Testing
8397
## =======

0 commit comments

Comments
 (0)