the path confusion is vert annoying

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2024-01-10 16:36:09 -08:00
parent c2acdafcdf
commit 8fb504941e
3 changed files with 17 additions and 5 deletions

View file

@ -21,8 +21,12 @@ jobs:
id: version_number
if: github.event_name == 'push'
run: |
bash scripts/get-atomic-buildnr.sh ${{ github.sha }} ${{ secrets.NIGHTLY_BUILDS }} "CICD-release"
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
version=$(<release-version)
echo "version=$version"
echo "version=$version" >> $GITHUB_OUTPUT
- name: store dummy version and build number for pull request

View file

@ -22,10 +22,13 @@ 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
version=$(<release-version)
echo "version=$version"
echo "version=$version" >> $GITHUB_OUTPUT
- name: store dummy version and build number for pull request
if: github.event_name == 'pull_request'
run: |