Skip to content

Commit 62d1f00

Browse files
Update release instructions (#359)
* update release.md * update release.md * move script * Update docs/release_new_version.md Co-authored-by: Agnès Toulet <[email protected]> Co-authored-by: Agnès Toulet <[email protected]>
1 parent b5fa049 commit 62d1f00

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

docs/release_new_version.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,21 @@
2020

2121
1. Once the GitHub release is created, run `yarn run create-gcom-plugin-json <release commit>`.
2222

23-
2. Push to grafana.com:
23+
2. Push to grafana.com via `./scripts/push-to-gcom.sh` or:
2424
```bash
2525
JSON=$(cat ./scripts/tmp/plugin.json) gcom /plugins -X POST -H "Content-Type: application/json" -d $JSON
2626
```
27+
28+
Note: The command will time-out, but the plugin update process will continue in the background.
29+
30+
```
31+
<html>
32+
<head><title>504 Gateway Time-out</title></head>
33+
<body>
34+
<center><h1>504 Gateway Time-out</h1></center>
35+
<hr><center>nginx/1.17.9</center>
36+
</body>
37+
</html>
38+
```
39+
40+
3. Inform HG team about the new release.

scripts/push-to-gcom.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/zsh
2+
3+
JSON=$(cat ./scripts/tmp/plugin.json)
4+
5+
echo $JSON
6+
echo "Pushing..."
7+
8+
gcom /plugins -X POST -H "Content-Type: application/json" -d "$JSON"

0 commit comments

Comments
 (0)