Skip to content

Commit f88d722

Browse files
committed
wip
1 parent 226482d commit f88d722

File tree

3 files changed

+35
-4
lines changed

3 files changed

+35
-4
lines changed

.github/workflows/publish-test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Publish new test release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*.*.*-test'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-20.04
11+
timeout-minutes: 10
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
- name: Install Python
16+
uses: actions/setup-python@v4
17+
with:
18+
node-version: '3.10'
19+
- name: Upgrade "pip"
20+
run: python3 -m pip install --upgrade pip
21+
- name: Upgrade "build"
22+
run: python3 -m pip install --upgrade build
23+
- name: Upgrade "twine"
24+
run: python3 -m pip install --upgrade twine
25+
- name: Build package
26+
run: python3 -m build
27+
- name: Publish package
28+
run: python3 -m twine upload --repository testpypi -u $USER -p $PASS dist/*
29+
env:
30+
USER: ${{ secrets.TESTPYPI_USER }}
31+
PASS: ${{ secrets.TESTPYPI_PASS }}

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Build package
2626
run: python3 -m build
2727
- name: Publish package
28-
run: python3 -m twine upload --repository testpypi -u $USER -p $PASS dist/*
28+
run: python3 -m twine upload --repository pypi -u $USER -p $PASS dist/*
2929
env:
30-
USER: ${{ secrets.TESTPYPI_USER }}
31-
PASS: ${{ secrets.TESTPYPI_PASS }}
30+
USER: ${{ secrets.PYPI_USER }}
31+
PASS: ${{ secrets.PYPI_PASS }}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
with open("README.md", "r") as fh:
2424
long_description = fh.read()
2525

26-
__version__ = "0.0.1"
26+
__version__ = "0.0.0"
2727

2828
"""Perform the package airflow-provider-cube setup."""
2929
setup(

0 commit comments

Comments
 (0)