From d5659478fcbd567eefbbe81b868574dc20037ecf Mon Sep 17 00:00:00 2001 From: zemnmez Date: Sun, 5 Jun 2022 18:35:06 -0700 Subject: [PATCH 1/2] Extra rules --- .github/versioning/versioning.md | 1 + bzl/versioning/rules.bzl | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/versioning/versioning.md b/.github/versioning/versioning.md index dc5852d354..ead966a6f7 100644 --- a/.github/versioning/versioning.md +++ b/.github/versioning/versioning.md @@ -45,6 +45,7 @@ sequenceDiagram ## Process ### Introduce new 'versioned' branch - [ ] Versioned branch copies over all commits from main branch + - [ ] Rule that can be run to bump a version when a set of hashed file(s) changes. ### Introduce new 'versioned tests' - [ ] Versioned tests, which are able to determine if a major minor or patch version should be bumped as a result of a change, exist. diff --git a/bzl/versioning/rules.bzl b/bzl/versioning/rules.bzl index 6ed52eabce..9d1be03572 100644 --- a/bzl/versioning/rules.bzl +++ b/bzl/versioning/rules.bzl @@ -1,5 +1,4 @@ - def semver_version(name, **kwargs): _semver_version( name = name, @@ -34,4 +33,4 @@ _semver_version = rule( "patch": attr.label(allow_single_file = True, mandatory = True), "output": attr.output(mandatory = True) } -) \ No newline at end of file +) From 7ba76535267805b45734defb456aa9dc81416949 Mon Sep 17 00:00:00 2001 From: zemnmez Date: Sun, 5 Jun 2022 18:36:09 -0700 Subject: [PATCH 2/2] oopsie --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9661aaa322..c2af9a4e27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,7 +98,7 @@ jobs: with: fetch-depth: 0 - name: Checkout 'versioned' branch - run: git checkout + run: git checkout versioned - name: Merge with our branch run: git merge main - name: Open PR to 'versioned' branch