From c8830ad020feb01ef575557a89db38433844ed6b Mon Sep 17 00:00:00 2001 From: LaunchDarklyReleaseBot Date: Wed, 18 Dec 2024 20:48:13 +0000 Subject: [PATCH] Releasing version 2.13.0 --- CHANGELOG.md | 7 +++++++ build/metadata/bitbucket/README.md | 6 +++--- build/metadata/bitbucket/pipe.yml | 2 +- build/metadata/github-actions/Dockerfile | 2 +- build/metadata/github-actions/README.md | 4 ++-- build/package/circleci/orb.yml | 8 ++++---- internal/version/version.go | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8838998b..50b054a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to the ld-find-code-refs program will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org). +## [2.13.0] - 2024-12-18 +### Added: +- `subdirectory` option to set path to `.launchdarkly/coderefs.yaml` config file if not located in the root, in order to support monorepo subdirectories. + +### Changed: +- Updated dependencies + ## [2.12.0] - 2024-03-28 ### Added: - Enable scanning of github workflow files [#441](https://github.com/launchdarkly/ld-find-code-refs/pull/441) diff --git a/build/metadata/bitbucket/README.md b/build/metadata/bitbucket/README.md index 8f1477b6..be94ebc5 100644 --- a/build/metadata/bitbucket/README.md +++ b/build/metadata/bitbucket/README.md @@ -5,7 +5,7 @@ Job for finding and sending feature flag code references to LaunchDarkly Add the following snippet to the script section of your `bitbucket-pipelines.yml` file: ```yaml -- pipe: launchdarkly/ld-find-code-refs-pipe:2.12.0 +- pipe: launchdarkly/ld-find-code-refs-pipe:2.13.0 environment: LD_ACCESS_TOKEN: "" LD_PROJ_KEY: "" # Required unless using 'projects' block in configuration file then it must be omitted. @@ -51,7 +51,7 @@ A LaunchDarkly personal access token with writer-level access, or access to the Minimal configuration: ```yaml script: - - pipe: launchdarkly/ld-find-code-refs-pipe:2.12.0 + - pipe: launchdarkly/ld-find-code-refs-pipe:2.13.0 environment: LD_ACCESS_TOKEN: $LD_ACCESS_TOKEN LD_PROJ_KEY: $LD_PROJ_KEY @@ -60,7 +60,7 @@ script: Configuration sending 3 context lines to LaunchDarkly: ```yaml script: - - pipe: launchdarkly/ld-find-code-refs-pipe:2.12.0 + - pipe: launchdarkly/ld-find-code-refs-pipe:2.13.0 environment: LD_ACCESS_TOKEN: $LD_ACCESS_TOKEN LD_PROJ_KEY: $LD_PROJ_KEY diff --git a/build/metadata/bitbucket/pipe.yml b/build/metadata/bitbucket/pipe.yml index 698cb444..00b18654 100644 --- a/build/metadata/bitbucket/pipe.yml +++ b/build/metadata/bitbucket/pipe.yml @@ -1,5 +1,5 @@ name: LaunchDarkly Code References -image: launchdarkly/ld-find-code-refs-bitbucket-pipeline:2.12.0 +image: launchdarkly/ld-find-code-refs-bitbucket-pipeline:2.13.0 category: Feature flagging description: Job for finding and sending feature flag code references to LaunchDarkly repository: https://bitbucket.org/launchdarkly/ld-find-code-refs-pipe diff --git a/build/metadata/github-actions/Dockerfile b/build/metadata/github-actions/Dockerfile index 423c65ed..26f59427 100644 --- a/build/metadata/github-actions/Dockerfile +++ b/build/metadata/github-actions/Dockerfile @@ -1,4 +1,4 @@ -FROM launchdarkly/ld-find-code-refs-github-action:2.12.0 +FROM launchdarkly/ld-find-code-refs-github-action:2.13.0 LABEL com.github.actions.name="LaunchDarkly Code References" LABEL com.github.actions.description="Find references to feature flags in your code." diff --git a/build/metadata/github-actions/README.md b/build/metadata/github-actions/README.md index d8253346..dbdc7de0 100644 --- a/build/metadata/github-actions/README.md +++ b/build/metadata/github-actions/README.md @@ -28,7 +28,7 @@ jobs: with: fetch-depth: 11 # This value must be set if the lookback configuration option is not disabled for find-code-references. Read more: https://github.com/launchdarkly/ld-find-code-refs#searching-for-unused-flags-extinctions - name: LaunchDarkly Code References - uses: launchdarkly/find-code-references@v2.12.0 + uses: launchdarkly/find-code-references@v2.13.0 with: accessToken: ${{ secrets.LD_ACCESS_TOKEN }} projKey: LD_PROJECT_KEY @@ -71,7 +71,7 @@ jobs: with: fetch-depth: 11 # This value must be set if the lookback configuration option is not disabled for find-code-references. Read more: https://github.com/launchdarkly/ld-find-code-refs#searching-for-unused-flags-extinctions - name: LaunchDarkly Code References - uses: launchdarkly/find-code-references@v2.12.0 + uses: launchdarkly/find-code-references@v2.13.0 with: accessToken: ${{ secrets.LD_ACCESS_TOKEN }} projKey: LD_PROJECT_KEY diff --git a/build/package/circleci/orb.yml b/build/package/circleci/orb.yml index fe58dab6..883ac771 100644 --- a/build/package/circleci/orb.yml +++ b/build/package/circleci/orb.yml @@ -9,7 +9,7 @@ examples: usage: version: 2.1 orbs: - launchdarkly: launchdarkly/ld-find-code-refs@2.12.0 + launchdarkly: launchdarkly/ld-find-code-refs@2.13.0 workflows: main: jobs: @@ -23,7 +23,7 @@ examples: usage: version: 2.1 orbs: - launchdarkly: launchdarkly/ld-find-code-refs@2.12.0 + launchdarkly: launchdarkly/ld-find-code-refs@2.13.0 workflows: main: jobs: @@ -38,7 +38,7 @@ examples: usage: version: 2.1 orbs: - launchdarkly: launchdarkly/ld-find-code-refs@2.12.0 + launchdarkly: launchdarkly/ld-find-code-refs@2.13.0 workflows: main: jobs: @@ -107,7 +107,7 @@ jobs: type: integer default: 10 docker: - - image: launchdarkly/ld-find-code-refs:2.12.0 + - image: launchdarkly/ld-find-code-refs:2.13.0 entrypoint: sh steps: - checkout: diff --git a/internal/version/version.go b/internal/version/version.go index 10686522..59ce345f 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -1,3 +1,3 @@ package version -const Version = "2.12.0" +const Version = "2.13.0"