Skip to content

Commit

Permalink
Add version-bump.yml, version-tag.yml and CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bulv1ne committed Nov 5, 2023
1 parent 23f8a44 commit c692fcb
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ insert_final_newline = true
charset = utf-8
end_of_line = lf

[*.yml]
indent_size = 2

[LICENSE]
insert_final_newline = false
21 changes: 21 additions & 0 deletions .github/workflows/version-bump.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Version bump

on:
workflow_dispatch:
inputs:
versionPart:
description: 'Version bump part'
required: true
default: patch
type: choice
options:
- patch
- minor
- major

jobs:
version-bump:
name: Version bump on release branch
uses: bulv1ne/poetry-bumpversion/.github/workflows/version-bump.yml@main
with:
versionPart: ${{ inputs.versionPart }}
11 changes: 11 additions & 0 deletions .github/workflows/version-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Version tag

on:
push:
branches:
- main

jobs:
version-tag:
name: Version tag
uses: bulv1ne/poetry-bumpversion/.github/workflows/version-tag.yml@main
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [Unreleased]
### Added
- Support for python 3.12

### Removed
- Setuptools requirement

## [1.0.0]
### Added
- First version


[Unreleased]: https://github.com/bulv1ne/country_list/v1.0.0...HEAD
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = "MIT"
include = ["country_list/country_data/data/*/country.csv"]
exclude = ["country_list/country_data/*"]
classifiers = [
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
Expand Down

0 comments on commit c692fcb

Please sign in to comment.