Skip to content

Commit

Permalink
fix: checkout README and YAML for gh-pages
Browse files Browse the repository at this point in the history
We forgot to include the basic README and permissions YAML files of the repo which resulted in the YAML installation instructions not getting updated, and customers not being able to use us properly.
  • Loading branch information
ivanstanev committed Oct 16, 2019
1 parent e0153f3 commit d0a39ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/publish-gh-pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ then
fi

echo overriding new yaml / chart files from master branch
git checkout origin/master -- snyk-monitor snyk-monitor-cluster-permissions.yaml snyk-monitor-deployment.yaml snyk-monitor-namespaced-permissions.yaml
git checkout origin/master -- snyk-monitor snyk-monitor-cluster-permissions.yaml snyk-monitor-deployment.yaml snyk-monitor-namespaced-permissions.yaml README.md

echo overriding tag placeholders with latest semantic version
sed -i "s/IMAGE_TAG_OVERRIDE_WHEN_PUBLISHING/${NEW_TAG}/g" ./snyk-monitor/values.yaml
Expand All @@ -34,6 +34,9 @@ git add index.yaml
git add snyk-monitor-${NEW_TAG}.tgz
git add ./snyk-monitor/values.yaml
git add ./snyk-monitor-deployment.yaml
git add ./snyk-monitor-cluster-permissions.yaml
git add ./snyk-monitor-namespaced-permissions.yaml
git add ./README.md
COMMIT_MESSAGE='fix: :egg: Automatic Publish '${NEW_TAG}' :egg:'
git commit -m "${COMMIT_MESSAGE}"
git push --quiet --set-upstream origin-pages gh-pages
Expand Down

0 comments on commit d0a39ac

Please sign in to comment.