We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c1f487 commit 8d7dc4cCopy full SHA for 8d7dc4c
.github/workflows/release.yml
@@ -46,6 +46,15 @@ jobs:
46
with:
47
charts_dir: charts
48
49
+ - name: Write latest stable version to info.json file
50
+ run: |
51
+ # We write latest stable version info to JSON file which we can query for displaying
52
+ # badge in the readme
53
+ CHART_VERSION=$(cat charts/scalyr-agent/Chart.yaml | grep "version: " | sed "s/version: //g" | tr -d "\n")
54
+ echo '{"scalyrAgent": "v'${CHART_VERSION}'"}' > info.json
55
+ git add info.json
56
+ git push origin gh-pages
57
+
58
- name: Notify Slack on Failure
59
# NOTE: github.ref is set to pr ref (and not branch name, e.g. refs/pull/28/merge) for pull
60
# requests and that's why we need this special conditional and check for github.head_ref in
0 commit comments