Skip to content

Commit

Permalink
Bumping version to 1.2.0a1 (#156)
Browse files Browse the repository at this point in the history
* Bumping version to 1.2.0a1

* Remove extra space

* Skip test-build if alpha

* fix whitespace

* Bumping manifest schema

Co-authored-by: Github Build Bot <[email protected]>
Co-authored-by: leahwicz <[email protected]>
Co-authored-by: Jeremy Cohen <[email protected]>
  • Loading branch information
4 people authored Apr 13, 2022
1 parent 3d69869 commit e70d873
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.1.0b1
current_version = 1.2.0a1
parse = (?P<major>\d+)
\.(?P<minor>\d+)
\.(?P<patch>\d+)
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ jobs:

runs-on: ubuntu-latest

outputs:
is_alpha: ${{ steps.check-is-alpha.outputs.is_alpha }}

steps:
- name: Check out the repository
uses: actions/checkout@v2
Expand All @@ -130,6 +133,7 @@ jobs:
pip install --user --upgrade pip
pip install --upgrade setuptools wheel twine check-wheel-contents
pip --version
- name: Build distributions
run: ./scripts/build-dist.sh

Expand All @@ -139,9 +143,18 @@ jobs:
- name: Check distribution descriptions
run: |
twine check dist/*
- name: Check wheel contents
run: |
check-wheel-contents dist/*.whl --ignore W007,W008
- name: Check if this is an alpha version
id: check-is-alpha
run: |
export is_alpha=0
if [[ "$(ls -lh dist/)" == *"a1"* ]]; then export is_alpha=1; fi
echo "::set-output name=is_alpha::$is_alpha"
- uses: actions/upload-artifact@v2
with:
name: dist
Expand All @@ -150,6 +163,8 @@ jobs:
test-build:
name: verify packages / python ${{ matrix.python-version }} / ${{ matrix.os }}

if: needs.build.outputs.is_alpha == 0

needs: build

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion dbt/adapters/bigquery/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "1.1.0b1"
version = "1.2.0a1"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def _get_dbt_core_version():


package_name = "dbt-bigquery"
package_version = "1.1.0b1"
package_version = "1.2.0a1"
dbt_core_version = _get_dbt_core_version()
description = """The BigQuery adapter plugin for dbt"""

Expand Down
6 changes: 3 additions & 3 deletions tests/integration/docs_generate_tests/test_docs_generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ def expected_seeded_manifest(self, model_database=None, quote_model=False):
)

return {
'dbt_schema_version': 'https://schemas.getdbt.com/dbt/manifest/v4.json',
'dbt_schema_version': 'https://schemas.getdbt.com/dbt/manifest/v5.json',
'dbt_version': dbt.version.__version__,
'nodes': {
'model.test.model': {
Expand Down Expand Up @@ -1306,7 +1306,7 @@ def expected_bigquery_complex_manifest(self):
my_schema_name = self.unique_schema()

return {
'dbt_schema_version': 'https://schemas.getdbt.com/dbt/manifest/v4.json',
'dbt_schema_version': 'https://schemas.getdbt.com/dbt/manifest/v5.json',
'dbt_version': dbt.version.__version__,
'nodes': {
'model.test.clustered': {
Expand Down Expand Up @@ -1828,7 +1828,7 @@ def verify_manifest(self, expected_manifest):
elif key == 'metadata':
metadata = manifest['metadata']
self.verify_metadata(
metadata, 'https://schemas.getdbt.com/dbt/manifest/v4.json')
metadata, 'https://schemas.getdbt.com/dbt/manifest/v5.json')
assert 'project_id' in metadata and metadata[
'project_id'] == '098f6bcd4621d373cade4e832627b4f6'
assert 'send_anonymous_usage_stats' in metadata and metadata[
Expand Down

0 comments on commit e70d873

Please sign in to comment.