Skip to content

Commit 60e5ab1

Browse files
other files to include.
1 parent 486c6cf commit 60e5ab1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/devcontainers/base/src/.devcontainer/nhsnotify/postcreatecommand.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ echo "Cloning $REPO into $DEST"
1212

1313
REPO=https://github.com/NHSDigital/nhs-notify-repository-template.git
1414
DEST=$HOME/nhsengland/repository-template
15-
UPDATE_BRANCH=updating-the-default-files
15+
CURRENT_TIMESTAMP=$(date +%Y%m%d%H%M%S)
16+
UPDATE_BRANCH="updating-the-default-files-%$CURRENT_TIMESTAMP"
1617

1718
mkdir -p $DEST
1819
echo "created destination directory $DEST"
@@ -36,10 +37,10 @@ git switch -C $UPDATE_BRANCH
3637

3738
git add .
3839
export GPG_TTY=$(tty)
39-
git commit -m "Update default files from $REPO" || echo "No changes to commit"
40+
#git commit -m "Update default files from $REPO" || echo "No changes to commit"
41+
#git switch $CURRENT_BRANCH
42+
#git merge $UPDATE_BRANCH -m "Merge default files from $REPO"
4043

41-
git switch $CURRENT_BRANCH
42-
git merge $UPDATE_BRANCH -m "Merge default files from $REPO"
4344
echo "$REPO template complete"
4445

4546
echo "adding gpg tty to zshrc"

0 commit comments

Comments
 (0)