Skip to content

Commit

Permalink
fix(mlop-2649): fix release process (#406)
Browse files Browse the repository at this point in the history
- **feat(mlop-2649): configure release please workflow**
- **feat(mlop-2649): unset prelease and draft options**
- **fix(mlop-2649): changelog**
- **fix(mlop-2649): versions**
  • Loading branch information
albjoaov authored Feb 19, 2025
1 parent dc42d11 commit 880bc0c
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 127 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/publish.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,32 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
target-branch: staging
config-file: release-please-config.json
manifest-file: .release-please-manifest.json

- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}

- uses: actions/setup-python@v5
if: ${{ steps.release.outputs.release_created }}
with:
python-version: '3.9'

- name: Install dependencies
if: ${{ steps.release.outputs.release_created }}
run: make ci-install

- name: Build package
if: ${{ steps.release.outputs.release_created }}
run: make package

# - name: Publish release to pypi.org
# if: ${{ steps.release.outputs.release_created }}
# env:
# PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
# PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
# run: PYTHONPATH=./pip/deps python -m twine upload -u $PYPI_USERNAME -p $PYPI_PASSWORD --verbose dist/*
55 changes: 0 additions & 55 deletions .github/workflows/staging.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.5.0"
}
".": "1.4.7"
}
39 changes: 2 additions & 37 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,9 @@ All notable changes to this project will be documented in this file.

Preferably use **Added**, **Changed**, **Removed** and **Fixed** topics in each release or unreleased log for a better organization.

## [1.5.0](https://github.com/quintoandar/butterfree/compare/v1.4.8...v1.5.0) (2025-02-18)
## [1.4.7](https://github.com/quintoandar/butterfree/releases/tag/1.4.6)
* Fix releasing process


### Features

* **MLOP-1985:** optional params ([#347](https://github.com/quintoandar/butterfree/issues/347)) ([9bcca0e](https://github.com/quintoandar/butterfree/commit/9bcca0e20ba63f1643775e4553a68879a021c874))
* **MLOP-2145:** add feature set creation script ([#351](https://github.com/quintoandar/butterfree/issues/351)) ([688a5b3](https://github.com/quintoandar/butterfree/commit/688a5b3c0ab514034821de2af79ffa2ccdb9dd49))
* **MLOP-2236:** add NTZ ([#360](https://github.com/quintoandar/butterfree/issues/360)) ([2a5a6e8](https://github.com/quintoandar/butterfree/commit/2a5a6e8be2fa5493da2666261c4af9a304bbdef7))
* **mlop-2269:** bump versions ([#355](https://github.com/quintoandar/butterfree/issues/355)) ([887fbb2](https://github.com/quintoandar/butterfree/commit/887fbb2f262951f46d62a632755d3b71be8ee3de))
* **mlop-2455:** add release please workflow ([#398](https://github.com/quintoandar/butterfree/issues/398)) ([353a9b5](https://github.com/quintoandar/butterfree/commit/353a9b597c984748bd4ba22952b8e20975a2bf87))
* **mlop-2456:** add protection to host setting on cassandra_client ([#385](https://github.com/quintoandar/butterfree/issues/385)) ([ab551c0](https://github.com/quintoandar/butterfree/commit/ab551c089409e552b6ad5330407e360c7411838a))
* optional row count validation ([#340](https://github.com/quintoandar/butterfree/issues/340)) ([2a19009](https://github.com/quintoandar/butterfree/commit/2a1900976634b79209e7b7116007df13c00e38d5))


### Bug Fixes

* Cassandra config keys ([#366](https://github.com/quintoandar/butterfree/issues/366)) ([81c2c17](https://github.com/quintoandar/butterfree/commit/81c2c178444620b1f1576390ffa13a2be242068a))
* cassandra configs ([#364](https://github.com/quintoandar/butterfree/issues/364)) ([6363e03](https://github.com/quintoandar/butterfree/commit/6363e03a2d4e8ce4c21102ba1814515fe672029d))
* include extra-files config for version bump ([#400](https://github.com/quintoandar/butterfree/issues/400)) ([49c91fa](https://github.com/quintoandar/butterfree/commit/49c91fa38467a172afe53cf93ca48211f3838fc9))
* **MLOP-2519:** avoid configuring logger at lib level ([#393](https://github.com/quintoandar/butterfree/issues/393)) ([b7c7d48](https://github.com/quintoandar/butterfree/commit/b7c7d4873db6eb8aec73ce99240b3dd0c7f6e4b3))
* move incremental filter ([#388](https://github.com/quintoandar/butterfree/issues/388)) ([b802f69](https://github.com/quintoandar/butterfree/commit/b802f69292ea03a5938940dce2995202f77bf232))
* new type ([#368](https://github.com/quintoandar/butterfree/issues/368)) ([b1949cd](https://github.com/quintoandar/butterfree/commit/b1949cd3fa4da68595442d28328819d2196e9ddc))
* parameter, libs ([#341](https://github.com/quintoandar/butterfree/issues/341)) ([ca1a16d](https://github.com/quintoandar/butterfree/commit/ca1a16d5cb7f2a1800084160ecd472c5303918e7))
* performance adjustments, migrate ([#378](https://github.com/quintoandar/butterfree/issues/378)) ([52d4911](https://github.com/quintoandar/butterfree/commit/52d4911d631b280826341456e3386a39c40d42be))
* performance improvements ([#374](https://github.com/quintoandar/butterfree/issues/374)) ([11cc5d5](https://github.com/quintoandar/butterfree/commit/11cc5d5c006a17f839f52517f4907c1b40f8d20e))
* publish and dev versions ([#359](https://github.com/quintoandar/butterfree/issues/359)) ([cbda73d](https://github.com/quintoandar/butterfree/commit/cbda73d974d7e2058de8823800f2df0fa8bf6160))
* release-please action runner ([#402](https://github.com/quintoandar/butterfree/issues/402)) ([216bd50](https://github.com/quintoandar/butterfree/commit/216bd5038667b8c3b6061ec62aecf1375bb36474))
* remove unwanted configs for release-please ([#403](https://github.com/quintoandar/butterfree/issues/403)) ([b2b554e](https://github.com/quintoandar/butterfree/commit/b2b554edaafc2e8387900b2c20926096e084ad81))
* rollback repartition ([#386](https://github.com/quintoandar/butterfree/issues/386)) ([a11a699](https://github.com/quintoandar/butterfree/commit/a11a699a578e14f6ca05a1cf992c2fc56ebf703d))
* Rollback to latest stable release ([#391](https://github.com/quintoandar/butterfree/issues/391)) ([5e6f416](https://github.com/quintoandar/butterfree/commit/5e6f416eb2838f5ee7a3be6715e597de5e404a95))
* sphinx version ([#356](https://github.com/quintoandar/butterfree/issues/356)) ([5af8a05](https://github.com/quintoandar/butterfree/commit/5af8a05a841c02114e08d90455e9cd772a1980c3))
* version, format ([#376](https://github.com/quintoandar/butterfree/issues/376)) ([5f7028b](https://github.com/quintoandar/butterfree/commit/5f7028b081c38e7eaeb1aa5fd0f3597b56afaa26))

## [1.4.8](https://github.com/quintoandar/butterfree/compare/1.4.6...v1.4.8) (2025-02-18)

- Fixes: release process

## [Unreleased]
## [1.4.6](https://github.com/quintoandar/butterfree/releases/tag/1.4.6)
* Fix(MLOP-2519): avoid configuring logger at lib level ([#393](https://github.com/quintoandar/butterfree/pull/393))
* Fix: Rollback to latest stable release ([#391](https://github.com/quintoandar/butterfree/pull/391))
Expand Down
2 changes: 1 addition & 1 deletion butterfree/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Module docstring example, following Google's docstring style."""

__version__ = "1.5.0" # x-release-please-version
__version__ = "1.4.7" # x-release-please-version
5 changes: 2 additions & 3 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
"release-type": "python",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false,
"draft": true,
"prerelease": true,
"include-component-in-tag": false,
"include-v-in-tag": false,
"extra-files": [
"setup.py",
"butterfree/__init__.py"
]
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}
}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import find_packages, setup

__package_name__ = "butterfree"
__version__ = "1.5.0" # x-release-please-version
__version__ = "1.4.7" # x-release-please-version
__repository_url__ = "https://github.com/quintoandar/butterfree"

with open("requirements.txt") as f:
Expand Down

0 comments on commit 880bc0c

Please sign in to comment.