Skip to content

Commit

Permalink
Update repo owner in release script
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderzobnin committed Aug 17, 2023
1 parent 2212ad9 commit b4c7932
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/github/publishRelease.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const GithubClient = require('./githubClient');
const fs = require('fs');
const path = require('path');

const GRAFANA_ZABBIX_OWNER = 'alexanderzobnin';
const GRAFANA_ZABBIX_OWNER = 'grafana';
const GRAFANA_ZABBIX_REPO = 'grafana-zabbix';

const github = new GithubClient(GRAFANA_ZABBIX_OWNER, GRAFANA_ZABBIX_REPO, true);
Expand Down Expand Up @@ -49,7 +49,7 @@ async function main() {
let releaseCommitHash;
try {
const tags = await github.client.get(`tags`);
const releaseTag = tags.data.find(t => t.name === `v${releaseVersion}`);
const releaseTag = tags.data.find((t) => t.name === `v${releaseVersion}`);
releaseCommitHash = releaseTag.commit.sha;
console.log('Tag found', releaseTag.name, releaseCommitHash);
} catch (reason) {
Expand Down

0 comments on commit b4c7932

Please sign in to comment.