-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ddc7c7a
commit eadc4da
Showing
5 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Release | ||
|
||
on: [workflow_dispatch] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
concurrency: release | ||
permissions: | ||
id-token: write | ||
contents: write | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Python Semantic Release | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip install -e .[dev] | ||
- name: Run Semantic Release | ||
run: make release | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
venv/ | ||
.input.yml | ||
output/ | ||
*/__pycache__/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# CHANGELOG | ||
|
||
## v0.1.0 (2024-09-10) | ||
|
||
### Feature | ||
|
||
* feat: organize in forders and create license file ([`cf8edaf`](https://github.com/eduNEXT/edunext-grafana-dashboards/commit/cf8edaffd9c26ce57cb0fbeefd810e8cebf2b22a)) | ||
|
||
* feat: include readme ([`9511761`](https://github.com/eduNEXT/edunext-grafana-dashboards/commit/9511761b431dd3e7a6429fa33567af15022d055a)) | ||
|
||
* feat: first commit ([`e62b0c4`](https://github.com/eduNEXT/edunext-grafana-dashboards/commit/e62b0c478f65b617472da446163111c2ce6e67ea)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.DEFAULT_GOAL := help | ||
|
||
release: ## release a new version | ||
@echo "Releasing a new version." | ||
@echo "This is a remote release, it will push to the remote repository." | ||
semantic-release -vv version --changelog --push --tag --commit | ||
|
||
local-release: | ||
@echo "Releasing a new version." | ||
@echo "This is a local release, it will not push to the remote repository." | ||
@echo "You can push the changes and release manually." | ||
semantic-release -vv version --changelog --commit --no-push | ||
|
||
selfcheck: ## check that the Makefile is well-formed | ||
@echo "The Makefile is well-formed." | ||
|
||
ESCAPE = \033 | ||
help: ## Print this help | ||
@grep -E '^([.a-zA-Z_-]+:.*?## .*|######* .+)$$' Makefile \ | ||
| sed 's/######* \(.*\)/@ $(ESCAPE)[1;31m\1$(ESCAPE)[0m/g' | tr '@' '\n' \ | ||
| awk 'BEGIN {FS = ":.*?## "}; {printf "\033[33m%-30s\033[0m %s\n", $$1, $$2}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[project.optional-dependencies] | ||
dev = [ | ||
"python-semantic-release", | ||
] |