Skip to content

Commit 1c9a2db

Browse files
committed
🔖 refactored: Bump up to version 0.0.0 -> 0.0.1.
1 parent 85c744d commit 1c9a2db

File tree

4 files changed

+60
-6
lines changed

4 files changed

+60
-6
lines changed

.github/workflows/publish.yml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ jobs:
4646

4747
pypi-publish:
4848
runs-on: ubuntu-latest
49-
# ${{ !startsWith(github.ref, 'refs/tags') }}
5049
if: github.event.action == 'released' && startsWith(github.ref, 'refs/tags')
5150
environment:
5251
name: pypi
@@ -100,3 +99,34 @@ jobs:
10099
repository-url: ${{ vars.PYPI_REPO_URL }}
101100
skip-existing: true
102101
verbose: true
102+
103+
github-release:
104+
runs-on: ubuntu-latest
105+
needs:
106+
- pypi-publish
107+
permissions:
108+
contents: write # IMPORTANT: mandatory for making GitHub Releases
109+
id-token: write # IMPORTANT: mandatory for sigstore
110+
111+
steps:
112+
- name: Download all the dists
113+
uses: actions/download-artifact@v4
114+
with:
115+
name: release-dists
116+
path: dist/
117+
118+
- name: Sign the dists with Sigstore
119+
uses: sigstore/gh-action-sigstore-python@v3.0.0
120+
with:
121+
inputs: |
122+
./dist/*.tar.gz
123+
./dist/*.whl
124+
125+
- name: Upload artifact signatures to GitHub Release
126+
env:
127+
GITHUB_TOKEN: ${{ github.token }}
128+
run: |
129+
RELEASE=$(echo ${{ github.ref_name }} | cut -c 2-)
130+
gh release upload \
131+
"$RELEASE" dist/** \
132+
--repo "${{ github.repository }}"

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Changelogs
2+
3+
## Latest Changes
4+
5+
## 0.0.1
6+
7+
### :sparkles: Features
8+
9+
- :dart: feat: add the first draft of usage example of this project.
10+
- :dart: feat: add jinja template deps to this project.
11+
- :tada: initial: update the first template.
12+
13+
### :black_nib: Code Changes
14+
15+
- :test_tube: tests: add testcase for databricks/select template.
16+
- :construction: refactored: Initial commit
17+
18+
### :bug: Bug fixes
19+
20+
- :gear: fixed: change import path on test utils.
21+
22+
### :package: Build & Workflow
23+
24+
- :toolbox: build: add header and remove token on publish workflow.
25+
- :toolbox: build: add test workflow.
26+
- :toolbox: build: add publish workflow for build this package.
27+
- :package: build: create dependabot.yml

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,11 @@ statement.
2020
pip install -U sqlplate
2121
```
2222

23-
> [!WARNING]
24-
> This package does not exist on the PyPI yet.
25-
2623
## :fork_and_knife: Usage
2724

2825
```python
2926
from datetime import datetime
30-
from src import SQL
27+
from sqlplate import SQL
3128

3229
statement: str = (
3330
SQL.system('databricks')

src/sqlplate/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = "0.0.0"
1+
__version__ = "0.0.1"
22
__version_tuple__ = tuple(map(int, __version__.split(".")[:3]))

0 commit comments

Comments
 (0)