Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
filipe1309 committed Mar 24, 2022
1 parent f16ce84 commit a3f56b1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .shub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

This is a `template` with some scripts to `automate` `deploy` and the `initial setup` of a new **Co**urse that will be hosted on **Git**Hub.

![](shub-cli.png)


## 📜 Requirements
- [Git](https://git-scm.com/)
- [Curl](https://curl.haxx.se/)
Expand Down Expand Up @@ -74,11 +77,13 @@ So you must be in a branch with a number at the end, like `class-1` or `class-1.

For example, if your actual branch is `class-1`, after running this script, the steps below will be performed:

1. A new tag `class-1-some-description` will be created
2. The actual branch will be automatically merged into `main`
3. The `main` branch will be sent to GitHub with the new tag (with `git push && git push --tags`)
4. A new branch `class-2` will be created
5. `notes.md` will be update with the new "project version number" like `## CLASS-2`
1. Shub files will be commit automatically & notes.md` will be update with the new "project version number" like `## CLASS-2`
2. Checkout to `main` branch
3. branch `class-1` will be automatically merged into `main`
4. A new tag `class-1-some-description` will be created
5. The `main` branch will be sent to GitHub with the new tag (with `git push --follow-tags`)
6. A new branch `class-2` will be created


#### 🤷‍♂️ Optional arguments

Expand Down
Binary file added .shub/shub-cli.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# <!-- SHUBCONFIG --> Hi 😊, welcome to ShubCoGen Template!
## <!-- SHUBCONFIG --> 🏃‍♂️ Run `./init.sh` to configure your project.
## <!-- SHUBCONFIG --> 👉 Access the docs [here](./.shub/README.md)
## <!-- SHUBCONFIG --> ![](.shub/shub-cli.png)
## <!-- SHUBCONFIG --> <hr>

# <p align="center">{{ PROJECT_NAME }}</p>
Expand Down

0 comments on commit a3f56b1

Please sign in to comment.