CICD: clean up the noisy scripts

This all is way too verbose now that it apparently is working.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2024-01-10 17:44:48 -08:00
parent 2f464c114d
commit eb4f3121bc
3 changed files with 2 additions and 15 deletions

View file

@ -21,13 +21,8 @@ jobs:
id: version_number
if: github.event_name == 'push'
run: |
bash -x ./scripts/get-atomic-buildnr.sh ${{ github.sha }} ${{ secrets.NIGHTLY_BUILDS }} "CICD-release"
echo "in yml we have PWD $(pwd)"
ls -l release-version
cat release-version
echo
bash ./scripts/get-atomic-buildnr.sh ${{ github.sha }} ${{ secrets.NIGHTLY_BUILDS }} "CICD-release"
version=$(cat release-version)
echo "version=$version"
echo "version=$version" >> $GITHUB_OUTPUT
- name: store dummy version and build number for pull request

View file

@ -22,12 +22,7 @@ jobs:
if: github.event_name == 'push'
run: |
bash scripts/get-atomic-buildnr.sh ${{ github.sha }} ${{ secrets.NIGHTLY_BUILDS }} "CICD-release"
echo "in yml we have PWD $(pwd)"
ls -l release-version
cat release-version
echo
version=$(cat release-version)
echo "version=$version"
echo "version=$version" >> $GITHUB_OUTPUT
- name: store dummy version and build number for pull request