Skip to content

Commit

Permalink
snapshoty: update regex using the new versioning (#2345)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored May 7, 2024
1 parent 3f2c5dd commit 7cd68d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .ci/snapshoty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ artifacts:
# Path to use for artifacts discovery
- path: './build/output'
# Files pattern to match
files_pattern: 'elastic_apm_profiler_(?P<app_version>\d+\.\d+\.\d+)-(?P<revision>\w+)-(?P<os>\w+)-(?P<arch>\w+)\.zip'
files_pattern: 'elastic_apm_profiler_(?P<app_version>\d+\.\d+\.\d+)-(?P<revision>[\w\.]+)-(?P<os>\w+)-(?P<arch>\w+)\.zip'
# File layout on GCS bucket
output_pattern: '{project}/{github_branch_name}/elastic-apm-dotnet-profiler-{app_version}-{app_version}-{os}-{arch}-{github_sha_short}.jar'
# List of metadata processors to use.
metadata: *metadata
- path: './build/output'
files_pattern: 'ElasticApmAgent_(?P<app_version>\d+\.\d+\.\d+)-(?P<revision>\w+)\.zip'
files_pattern: 'ElasticApmAgent_(?P<app_version>\d+\.\d+\.\d+)-(?P<revision>[\w\.]+)\.zip'
output_pattern: '{project}/{github_branch_name}/elastic-apm-dotnet-agent-{app_version}-{revision}-{github_sha_short}.zip'
metadata: *metadata
- path: './build/output/_packages'
files_pattern: 'Elastic\.Apm\.(?P<component>[\w\.]*)\.(?P<app_version>\d+\.\d+\.\d+)-(?P<revision>\w+)-(?P<revision_dup>\w+)-(?P<date>[\d-]+)\.nupkg'
files_pattern: 'Elastic\.Apm(?P<component>[\w\.]*)\.(?P<app_version>\d+\.\d+\.\d+)-(?P<revision>[\w\.]+)(-(?P<revision_dup>\w+)-(?P<date>[\d-]+))?\.nupkg'
output_pattern: '{project}/{github_branch_name}/elastic-apm-dotnet-{component}-{app_version}-{revision}-{github_sha_short}.nupkg'
metadata: *metadata

0 comments on commit 7cd68d0

Please sign in to comment.