updated the release workflow
@@ -161,14 +161,10 @@ jobs:
echo "********** Copying Latest Release JSON File **********"
PUBLISHED_AT=$(cat latestRelease.json | jq '.published_at' | sed 's/"//g')
cp latestRelease.json releases/$PUBLISHED_AT.json
-
- # setting up env variable to use in next step to force commit the file
- echo "::set-env name=FILENAME::$PUBLISHED_AT"
- name: Commit Project Website Changes
run: |
cd website
git add .
- git add -f _data/registry/releases/$FILENAME.json #ignored due to .gitignore config
git commit -m "Automated Update For Apicurio Registry Release Version: ${{steps.metadata.outputs.release-version}}"
git push
