-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adding in auto versioning and changelogs.
Adding in auto versioning and changelogs using cocogitto.
- Loading branch information
Showing
2 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
name: Tag release | ||
on: | ||
push: | ||
branches: | ||
- '!**' | ||
- 'main' | ||
|
||
jobs: | ||
tag-release: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
contents: write | ||
packages: write | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Check for conventional commits | ||
uses: cocogitto/cocogitto-action@v3.8 | ||
- name: Get next version | ||
id: next_version | ||
run: | | ||
echo NEXT_VERSION=`cog bump --auto --dry-run` >> "$GITHUB_ENV" | ||
- name: Cocogitto tag | ||
id: tag | ||
uses: cocogitto/cocogitto-action@v3 | ||
with: | ||
check-latest-tag-only: false | ||
release: true | ||
git-user: 'GitHubActions' | ||
git-user-email: 'github@ei.aero' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
from_latest_tag = true | ||
ignore_merge_commits = false | ||
disable_changelog = false | ||
disable_bump_commit = true | ||
generate_mono_repository_global_tag = true | ||
branch_whitelist = [] | ||
skip_ci = "[skip ci]" | ||
skip_untracked = false | ||
pre_bump_hooks = [] | ||
post_bump_hooks = [ | ||
"git push origin --tags" | ||
] | ||
pre_package_bump_hooks = [] | ||
post_package_bump_hooks = [] | ||
monorepo_version_separator = "/" | ||
tag_prefix = "v" | ||
|
||
[git_hooks] | ||
|
||
[commit_types] | ||
chore = { changelog_title = "Chores" } | ||
|
||
[changelog] | ||
path = "CHANGELOG.md" | ||
authors = [] | ||
|
||
[bump_profiles] | ||
|
||
[packages] | ||
aws = { path = "aws" } | ||
databricks = { path = "databricks" } | ||
github = { path = "github" } | ||
gcp = { path = "gcp" } | ||
azure = { path = "azure" } |