fix: force-add build metadata files to override .gitignore
This commit is contained in:
@@ -53,7 +53,7 @@ jobs:
|
||||
run: |
|
||||
for f in VERSION BUILD_DATE GIT_SHA RUNTIME_INFO; do
|
||||
if [ -f "$f" ]; then
|
||||
git add "$f"
|
||||
git add -f "$f"
|
||||
fi
|
||||
done
|
||||
if ! git diff --staged --quiet; then
|
||||
@@ -70,4 +70,4 @@ jobs:
|
||||
const ref = context.ref;
|
||||
const tag = ref.replace('refs/tags/', '');
|
||||
console.log(`New tag created: ${tag}`);
|
||||
console.log('Docker build will be triggered automatically by the docker-build workflow');
|
||||
console.log('Docker build will be triggered automatically by the docker-build workflow');
|
||||
Reference in New Issue
Block a user