Skip to content

Commit

Permalink
BFD-3121: Ensure Consistency in Data Dictionary Release Artifacts (#2102
Browse files Browse the repository at this point in the history
)
  • Loading branch information
malessi authored Dec 18, 2023
1 parent 947b5e7 commit 1dbf68e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,17 @@ jobs:
--namespace "$CA_NAMESPACE" \
--format maven \
--region "$AWS_REGION" \
"${asset/$CA_PACKAGE-/}" 1>/dev/null
"${asset/$CA_PACKAGE-${{ inputs.releaseVersion }}-/}" 1>/dev/null
done
# rename data dictionary release assets to follow historical naming conventions
for item in ./*data-dictionary*
do
filename=$(basename -- "$item")
extension="${filename##*.}"
filename="$(echo "${filename%.*}" | sed -E 's/^v([0-9]+.*)$/V\1/')"
mv "$item" "$filename-${{ inputs.releaseVersion }}.$extension"
done
env:
CA_NAMESPACE: gov.cms.bfd
Expand Down

0 comments on commit 1dbf68e

Please sign in to comment.