File tree Expand file tree Collapse file tree 4 files changed +60
-6
lines changed
Expand file tree Collapse file tree 4 files changed +60
-6
lines changed Original file line number Diff line number Diff line change 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 }}"
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -20,14 +20,11 @@ statement.
2020pip 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
2926from datetime import datetime
30- from src import SQL
27+ from sqlplate import SQL
3128
3229statement: str = (
3330 SQL .system(' databricks' )
Original file line number Diff line number Diff line change 1- __version__ = "0.0.0 "
1+ __version__ = "0.0.1 "
22__version_tuple__ = tuple (map (int , __version__ .split ("." )[:3 ]))
You can’t perform that action at this time.
0 commit comments