Compare commits
4
Commits
8c99668fac
...
1.17.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f6d0ccaa0 | ||
|
|
275befc258 | ||
|
|
1acbc4d213 | ||
|
|
193496bbf9 |
+2
-2
@@ -50,11 +50,11 @@ steps:
|
|||||||
VERSION: 1.${DRONE_BUILD_NUMBER}.0
|
VERSION: 1.${DRONE_BUILD_NUMBER}.0
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache curl
|
- apk add --no-cache curl
|
||||||
- git remote set-url origin https://$${GITEA_USER}:$${GITEA_PASS}@gitea.khongisa.co.za/litecharms/libraries.git
|
- git remote set-url origin https://$${GITEA_USER}:$${GITEA_PASS}@gitea.khongisa.co.za/litecharms/components.git
|
||||||
- git tag $VERSION
|
- git tag $VERSION
|
||||||
- git push origin $VERSION
|
- git push origin $VERSION
|
||||||
- |
|
- |
|
||||||
curl -X POST "https://gitea.khongisa.co.za/api/v1/repos/litecharms/libraries/releases" \
|
curl -X POST "https://gitea.khongisa.co.za/api/v1/repos/litecharms/components/releases" \
|
||||||
-H "Authorization: token $${GITEA_TOKEN}" \
|
-H "Authorization: token $${GITEA_TOKEN}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "{
|
-d "{
|
||||||
|
|||||||
@@ -1 +1,23 @@
|
|||||||
# LiteCharmsShared
|
# LiteCharms.Components
|
||||||
|
|
||||||
|
A suite of shared libraries providing core logic, models, and infrastructure for the LiteCharms ecosystem.
|
||||||
|
|
||||||
|
## 📦 Published Packages
|
||||||
|
All packages are versioned and pushed to [Nexus](https://nexus.khongisa.co.za) automatically via CI/CD.
|
||||||
|
|
||||||
|
* **Abstractions:** Interfaces and base contracts.
|
||||||
|
* **Models:** Shared DTOs and Request/Response objects.
|
||||||
|
* **Entities:** Database schema definitions.
|
||||||
|
* **Infrastructure:** Persistence and external service clients.
|
||||||
|
* **Features:** Core business logic modules.
|
||||||
|
* **Extensions:** Shared helper methods and DI configurations.
|
||||||
|
|
||||||
|
## 🚀 CI/CD Workflow
|
||||||
|
1. Create a **Pull Request** to `master`.
|
||||||
|
2. Drone CI builds, tests, and packs the suite as `1.${DRONE_BUILD_NUMBER}.0`.
|
||||||
|
3. Packages are pushed to the Nexus `nuget-hosted` repository.
|
||||||
|
4. A formal **Gitea Release** is created with the versioned "Bill of Materials."
|
||||||
|
|
||||||
|
## 🛠 Usage
|
||||||
|
Add the Nexus NuGet source to your local environment and reference the version listed in the latest Gitea Release:
|
||||||
|
`dotnet add package LiteCharms.Models -v 1.XX.0`
|
||||||
Reference in New Issue
Block a user