Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jwodder/auto-test
Testing out auto and its configuration
https://github.com/jwodder/auto-test
auto-release test
Last synced: 15 days ago
JSON representation
Testing out auto and its configuration
- Host: GitHub
- URL: https://github.com/jwodder/auto-test
- Owner: jwodder
- License: mit
- Created: 2020-10-12T17:09:00.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-06T21:12:34.000Z (about 1 year ago)
- Last Synced: 2024-10-31T15:09:14.494Z (2 months ago)
- Topics: auto-release, test
- Language: JavaScript
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
This is a test repository for testing out
[auto](https://github.com/intuit/auto). Whenever a pull request is merged to
master, if the PR has the `release` label, auto performs the following:- A new version number is calculated based on the most recent release and
whether the intervening PRs had the labels `major`, `minor`, or `patch`.- A section is added & committed to the top of the CHANGELOG for the new
version, listing all PRs merged since the last version, organized by label.- The new commit is tagged with the new version.
- A GitHub release is created for the new version using the same body as the
CHANGELOG section.- The creation of the GitHub release in turn triggers a job for building
the Python project and uploading it to TestPyPI
([link](https://test.pypi.org/project/jwodder-auto-test/)).By default, auto recognizes the following PR labels:
- `major` — for major version level changes
- `minor` — for minor version level changes
- `patch` — for patch/micro-version level changes; default for unlabelled PRs
- `internal` — for changes only affecting the internal API
- `documentation` — for changes only affecting the documentation
- `release` — causes a new release after merging
- `skip-release` — unnecessary, since this repository is configured to only
release on PRs with `release`Prerequisites
=============When copying this repository's configuration to another repository, the
following additional steps must be taken:- After configuring `.autorc`, the necessary labels must be created in the
GitHub repository by running the following in a clone of the repo:GH_TOKEN=... auto create-labels
- The most recent release of the project must be tagged and have a GitHub
release created for it
- A PyPI upload token must be saved as a secret named "`PYPI_TOKEN`"