Skip to content

Commit

Permalink
refactor: stamp Aspect CLI with monorepo version scheme <year>.<week>…
Browse files Browse the repository at this point in the history
….<num_commits_in_week>-<commit_hash> (#6932)

Aspect CLI will now be versioned independently from Workflows.

---

### Changes are visible to end-users: yes

- Searched for relevant documentation and updated as needed: yes
- Breaking change (forces users to change their own code or config): no
- Suggested release notes appear below: yes

Aspect CLI will now be versioned independently from Workflows. Version
stamp will follow monorepo versioning scheme
`<year>.<week>.<num_commits_in_week>-<commit_hash>`.

### Test plan

- Covered by existing test cases
- Manual testing; please provide instructions so we can reproduce:

```
$ bazel-bin/cli/pro/pro_/pro version --aspect:lock_version
Aspect CLI version: 2024.39.51-a6b3d0c7b

$ bazel-bin/cli/pro/pro_/pro --version
aspect 2024.39.51-a6b3d0c7b

$ bazel-bin/cli/core/cmd/aspect/aspect_/aspect version --aspect:lock_version
Aspect CLI OSS version: 2024.39.51-a6b3d0c7b

$ bazel-bin/cli/core/cmd/aspect/aspect_/aspect --version
aspect oss 2024.39.51-a6b3d0c7b
```

GitOrigin-RevId: cc67e6d0d579babe40b8eb43bad3f8d711556914
  • Loading branch information
gregmagolan authored and jbedard committed Oct 23, 2024
1 parent 6e5ff08 commit dd768d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildinfo/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _GO_STAMP_X_DEFS = {
"GitCommit": "{STABLE_BUILD_SCM_SHA}",
"GitStatus": "{STABLE_BUILD_SCM_LOCAL_CHANGES}",
"HostName": "{BUILD_HOST}",
"Release": "{STABLE_BUILD_SCM_TAG}",
"Release": "{STABLE_ASPECT_CLI_VERSION}",
}

go_library(
Expand Down

0 comments on commit dd768d1

Please sign in to comment.