Commit e1c84ac6 authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

fix: move tbump to project automation

parent 0243673a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6,3 +6,4 @@ __pycache__
.coverage
.DS_Store
.netlify
node_modules

package-lock.json

0 → 100644
+27 −0
Original line number Diff line number Diff line
{
  "name": "templates",
  "lockfileVersion": 3,
  "requires": true,
  "packages": {
    "": {
      "devDependencies": {
        "prettier": "^3.1.1"
      }
    },
    "node_modules/prettier": {
      "version": "3.1.1",
      "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz",
      "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==",
      "dev": true,
      "bin": {
        "prettier": "bin/prettier.cjs"
      },
      "engines": {
        "node": ">=14"
      },
      "funding": {
        "url": "https://github.com/prettier/prettier?sponsor=1"
      }
    }
  }
}

package.json

0 → 100644
+5 −0
Original line number Diff line number Diff line
{
  "devDependencies": {
    "prettier": "^3.1.1"
  }
}
+2 −3
Original line number Diff line number Diff line
@@ -5,11 +5,10 @@ include:
  - local: project-automation/gitlab/recommended.yml
  - local: project-automation/semantic-release.yml
  - local: project-automation/generic.yaml
  - local: python/tbump.yml
  - local: project-automation/tbump.yml

tbump:
  extends:
    - .python:pre
    - .release:rules
  needs:
    - find-next-release
@@ -20,7 +19,7 @@ tbump:dry-run:
  variables:
    TBUMP_NEXT_VERSION: 99.99.99
  needs: []
  artifacts: null # Disable so we don't interfere with subsequent jobs
  artifacts: null # So we don't interfere with subsequent jobs
  rules:
    - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
      exists:
+3 −4
Original line number Diff line number Diff line
---
# https://pypi.org/project/tbump/
include:
  - local: python/generic.yml

variables:
  TBUMP_DEFAULT_ARGS: --only-patch --non-interactive

tbump:
  extends: .python:pre
  image:
    name: registry.gitlab.com/just-ci/images/python:slim
    entrypoint: [""]
  stage: build
  script:
    - |