29 lines
568 B
Markdown
29 lines
568 B
Markdown
# Publish to Gitea
|
|
|
|
## 1) Initialize repository
|
|
```bash
|
|
git init --object-format=sha256
|
|
git checkout -b main
|
|
git add .
|
|
git commit -m "chore: publish pxmon v0.2.0"
|
|
```
|
|
|
|
## 2) Create remote and push
|
|
```bash
|
|
git branch -M main
|
|
git remote add origin https://git.datacoria.com/endssh/pxmon.git
|
|
git push -u origin main
|
|
```
|
|
|
|
## 3) Create release tag
|
|
```bash
|
|
git tag v0.2.0
|
|
git push origin v0.2.0
|
|
```
|
|
|
|
## 4) Optional repository settings
|
|
- Enable branch protection for `main`
|
|
- Enable Dependabot alerts
|
|
- Add issue labels and project board
|
|
- Add release notes for tag `v0.2.0`
|