From 142fdf8792544a86cfc1e227d4641a343185a00c Mon Sep 17 00:00:00 2001 From: Paul Madden Date: Wed, 24 Jan 2024 23:57:25 +0000 Subject: [PATCH] Remove unneeded Actions scripts, fix whitespace --- .github/scripts/publish | 11 ----------- .github/scripts/tag-check | 8 -------- .github/scripts/tag-create | 6 ------ src/uwtools/tests/fixtures/hello_workflow.yaml | 2 +- 4 files changed, 1 insertion(+), 26 deletions(-) delete mode 100755 .github/scripts/publish delete mode 100755 .github/scripts/tag-check delete mode 100755 .github/scripts/tag-create diff --git a/.github/scripts/publish b/.github/scripts/publish deleted file mode 100755 index d48a2f358..000000000 --- a/.github/scripts/publish +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -eux - -set +ux -source conda/etc/profile.d/conda.sh -conda activate -set -ux -f=recipe/meta.json -glob="$(jq -r .name $f)-$(jq -r .version $f)-*_$(jq -r .buildnum $f).tar.bz2" -for x in $(find conda/conda-bld -type f -name "$glob"); do - anaconda -t $ANACONDA_TOKEN upload $x -done diff --git a/.github/scripts/tag-check b/.github/scripts/tag-check deleted file mode 100755 index 77986e85c..000000000 --- a/.github/scripts/tag-check +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -eux - -f=recipe/meta.json -tag=v$(jq -r .version $f)-$(jq -r .buildnum $f) -if git ls-remote --tags origin | grep -q "/$tag$"; then - (set +x && echo TAG $tag ALREADY EXISTS) - exit 1 -fi diff --git a/.github/scripts/tag-create b/.github/scripts/tag-create deleted file mode 100755 index d41e03ddf..000000000 --- a/.github/scripts/tag-create +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -eux - -f=recipe/meta.json -tag=v$(jq -r .version $f)-$(jq -r .buildnum $f) -git tag $tag -git push --tags diff --git a/src/uwtools/tests/fixtures/hello_workflow.yaml b/src/uwtools/tests/fixtures/hello_workflow.yaml index a7b38657f..b7d524ae5 100644 --- a/src/uwtools/tests/fixtures/hello_workflow.yaml +++ b/src/uwtools/tests/fixtures/hello_workflow.yaml @@ -41,4 +41,4 @@ workflow: dependency: taskdep: attrs: - task: hello \ No newline at end of file + task: hello