#!/bin/sh echo "-----------------------------------------------------------" echo "If you run into any issues with Startup CSS generation" echo "please check out the feedback issue:" echo "" echo "https://gitlab.com/gitlab-org/gitlab/-/issues/331812" echo "-----------------------------------------------------------" startup_glob="app/assets/stylesheets/startup*" if ! [ "$FOSS_ONLY" ] then startup_glob="*${startup_glob}" fi echo "Staging changes to '${startup_glob}' so we can check for untracked files..." git add "${startup_glob}" if [ -n "$(git diff HEAD --name-only -- "${startup_glob}")" ]; then diff=$(git diff HEAD -- "${startup_glob}") cat <