Skip to content

Commit feac23e

Browse files
committed
Correction to script file
1 parent e579454 commit feac23e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

create-new-release.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,14 @@ for file in $(find ./ga/latest ./ga/$NEW_VERSION -name Dockerfile.*); do
3434

3535
sed -i'.bak' -e "s/$OLD_VERSION/$NEW_VERSION/" $file;
3636
sed -i'.bak' -e "s/ARG LIBERTY_BUILD_LABEL=.*/ARG LIBERTY_BUILD_LABEL=$BUILD_LABEL/g" $file;
37+
sed -i'.bak' -e "s/LIBERTY_SHA=.*/LIBERTY_SHA={replace_with_correct_sha}/" $file;
3738

3839
# Do these substitutions only in $NEW_VERSION, not latest.
3940
# And skip the oidcProvider files.
4041
if [[ "$file" == "./ga/$NEW_VERSION/"* && "$file" != "./ga/$NEW_VERSION/oidcProvider"* ]];
4142
then
4243
sed -i'.bak' -e "s/ARG PARENT_IMAGE=icr.io\/appcafe\/websphere-liberty:kernel/ARG PARENT_IMAGE=icr.io\/appcafe\/websphere-liberty:$NEW_VERSION-kernel/g" $file;
4344
sed -i'.bak' -e "s/FROM websphere-liberty:kernel/FROM websphere-liberty:$NEW_VERSION-kernel/g" $file;
44-
45-
sed -i'.bak' -e "s/LIBERTY_SHA=.*/LIBERTY_SHA={replace_with_correct_sha}/" $file;
4645
fi
4746

4847
# Clean up temp files

0 commit comments

Comments
 (0)