Skip to content

Commit 6ead085

Browse files
committed
πŸ”– Release v0.2.0
1 parent 6fc960d commit 6ead085

3 files changed

Lines changed: 27 additions & 1 deletion

File tree

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
## [Unreleased]
5+
6+
## [0.2.0](https://github.com/wandercom/gcpde/releases/tag/v0.1.1)
7+
- ✨ add py.typed
8+
- 🦺 Enhance CubeJS model with enums and improved type safety
9+
10+
## [0.1.0](https://github.com/wandercom/gcpde/releases/tag/v0.1.0)
11+
- ✨ add first modules

β€ŽMakefileβ€Ž

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# globals
22
VERSION := $(shell uvx --from=toml-cli toml get --toml-path=pyproject.toml project.version)
3+
GH := $(shell command -v gh 2> /dev/null)
34

45
define PRINT_HELP_PYSCRIPT
56
import re, sys
@@ -14,6 +15,10 @@ print("\nCheck the Makefile for more information")
1415
endef
1516
export PRINT_HELP_PYSCRIPT
1617

18+
define check_gh
19+
@if [ -z $(GH) ]; then echo "gh could not be found. See https://cli.github.com/"; exit 2; fi
20+
endef
21+
1722
.PHONY: help
1823
.DEFAULT_GOAL := help
1924
help:
@@ -53,3 +58,13 @@ test:
5358
.PHONY: version
5459
version: ## package version
5560
@echo '${VERSION}'
61+
62+
.PHONY: release-github
63+
release-github: ## release to github
64+
$(call check_gh)
65+
@echo "Releasing version $$(make version) to github..."
66+
@$(GH) release create v$$(make version) --notes "Release v$$(make version)"
67+
68+
.PHONY: release
69+
release: release-github
70+
@echo "🏷 Release $$(make version) complete!"

β€Žpyproject.tomlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "cubejs"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
description = "unofficial async cubejs python client"
55
authors = [
66
{name = "Wander"}

0 commit comments

Comments
Β (0)