mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-17 20:16:16 +00:00
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:
parent
2f464c114d
commit
eb4f3121bc
3 changed files with 2 additions and 15 deletions
7
.github/workflows/linux-trusty-5.12.yml
vendored
7
.github/workflows/linux-trusty-5.12.yml
vendored
|
@ -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
|
||||
|
|
5
.github/workflows/windows.yml
vendored
5
.github/workflows/windows.yml
vendored
|
@ -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
|
||||
|
|
|
@ -21,11 +21,8 @@ git remote set-url origin "$url"
|
|||
git push origin main
|
||||
echo "build number prior to get-or-create was $(<latest-subsurface-buildnumber)"
|
||||
cd "$PARENT_DIR"
|
||||
bash -x subsurface/scripts/get-or-create-build-nr.sh "$1"
|
||||
bash subsurface/scripts/get-or-create-build-nr.sh "$1"
|
||||
echo "build number after get-or-create is $(<nightly-builds/latest-subsurface-buildnumber)"
|
||||
cp nightly-builds/latest-subsurface-buildnumber subsurface/
|
||||
[[ -n $3 ]] && echo "$3" > subsurface/latest-subsurface-buildnumber-extension
|
||||
bash subsurface/scripts/get-version > subsurface/release-version
|
||||
echo "$PARENT_DIR"
|
||||
ls -l "$PARENT_DIR"/subsurface/release-version
|
||||
cat "$PARENT_DIR"/subsurface/release-version
|
||||
|
|
Loading…
Add table
Reference in a new issue