Skip to content

Commit 114c100

Browse files
committed
fix script
1 parent c69d29c commit 114c100

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/scripts/get-dev-image-tag.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const https = require('https');
22

33
// Constants
44
const DOCKERHUB_API_URL = 'https://registry.hub.docker.com/v2/repositories/grafana/grafana-dev/tags?page_size=25';
5-
const GRAFANA_DEV_TAG_REGEX = /^(\d+\.\d+\.\d+)-(\d+)pre$/;
5+
const GRAFANA_DEV_TAG_REGEX = /^(\d+\.\d+\.\d+)-(\d+)$/;
66
const HTTP_TIMEOUT_MS = 10000;
77
const RETRYABLE_ERROR_CODES = ['ECONNRESET', 'ENOTFOUND', 'ECONNREFUSED', 'ETIMEDOUT'];
88

@@ -65,7 +65,7 @@ async function getLatestGrafanaDevTag() {
6565

6666
/**
6767
* Parses a Grafana dev tag string and extracts version and build information
68-
* @param {string} tagName - Tag name to parse (e.g., "11.4.0-175511pre")
68+
* @param {string} tagName - Tag name to parse (e.g., "12.3.0-17948569556")
6969
* @returns {Object|null} Parsed tag info or null if invalid
7070
*/
7171
function parseGrafanaDevTag(tagName) {

0 commit comments

Comments
 (0)