Skip to content

Commit

Permalink
Fix syntax error in examples (#9167)
Browse files Browse the repository at this point in the history
* Fix syntax error in examples

* fix lint error

* fix syntax error for release markers

---------

Co-authored-by: Rosie Yohannan <rosie@circleci.com>
  • Loading branch information
alexazl and rosieyohannan authored Jan 9, 2025
1 parent eef69b5 commit 4f24ccb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jekyll/_cci2/release/configure-release-markers.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
...
(existing deployment commands)
...
- circleci run release log --environment-name=<some-environment-name> --component-name=<some-component-name> --target-version=<some-version-name>
- run: circleci run release log --environment-name=<some-environment-name> --component-name=<some-component-name> --target-version=<some-version-name>
----

Substitute the placeholders above based on your application's details:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ If you were using the release agent prior to version `1.2.0` you were using `app
Support for the old labels will be dropped in one of the next releases.
After migrating to the new labels, rolling back to versions that used the old labels will be supported only for deployments and rollouts managed through Helm.
After migrating to the new labels, rolling back to versions that used the old labels will be supported only for deployments and Rollouts managed through Helm.
====

Once you have updated your Deployment or Rollout, check the CircleCI releases dashboard and you should see your release in the timeline view.
Expand All @@ -117,7 +117,7 @@ jobs:
...
(existing deployment commands)
...
- circleci run release plan --environment-name=some-environment-name --component-name=some-component-name --target-version=<some-version-name> <my-service-release>
- run: circleci run release plan --environment-name=some-environment-name --component-name=some-component-name --target-version=<some-version-name> <my-service-release>
----
+
Substitute the placeholders above based on your application's details:
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
executor: some-executor
steps:
- ./deploy.sh
- circleci run release plan --environment-name=some-environment-name --component-name=some-component-name --target-version=some-version-name my-service-release
- run: circleci run release plan --environment-name=some-environment-name --component-name=some-component-name --target-version=some-version-name my-service-release
release-my-service:
type: release
plan_name: my-service-release
Expand Down

0 comments on commit 4f24ccb

Please sign in to comment.