diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..583b908 --- /dev/null +++ b/.github/workflows/main.yml @@ -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' diff --git a/cog.toml b/cog.toml new file mode 100644 index 0000000..d50a13e --- /dev/null +++ b/cog.toml @@ -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" }