Skip to content

Commit

Permalink
Merge pull request #78 from axiom-data-science/update-version-check
Browse files Browse the repository at this point in the history
Update GHA ERDDAP version check
  • Loading branch information
srstsavage authored Aug 3, 2024
2 parents 14f82ae + e7296eb commit 5b3d807
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/erddap_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
script: |
const repo_name = "docker-erddap"
const repo_owner = "axiom-data-science"
const assign_user = "kwilcox"
const assign_user = "srstsavage"
const fs = require("fs")
const release = await github.repos.getLatestRelease({
owner: "BobSimons",
owner: "ERDDAP",
repo: "erddap"
})
const tag = release.data.tag_name
Expand All @@ -41,12 +41,12 @@ jobs:
const docker_version = `v${docker_version_line.split(" ")[2]}`
if (tag === docker_version) {
console.log(`Latest Docker version (${docker_version}) matches the latest available BobSimmons/erddap release`)
console.log(`Latest Docker version (${docker_version}) matches the latest available ERDDAP/erddap release`)
return
}
console.log(`Latest Docker version (${docker_version}) does not match the latest available BobSimmons/erddap release (${tag})`)
console.log(`Latest Docker version (${docker_version}) does not match the latest available ERDDAP/erddap release (${tag})`)
const query = `query($owner: String!, $name: String!) {
repository(owner: $owner, name: $name) {
Expand Down

0 comments on commit 5b3d807

Please sign in to comment.