Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
piggz authored Oct 19, 2023
1 parent 6f2c7c3 commit 819f938
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:

- name: Build mic
run: |
export VERSION=devel
export RELEASE=4.5.0.24
export EXTRA_NAME=-alpha2
export VERSION=$(echo $GITHUB_REF_NAME | cut -d "-" -f 2)
export RELEASE=$(echo $GITHUB_REF_NAME | cut -d "-" -f 3)
export EXTRA_NAME=-$(echo $GITHUB_REF_NAME | cut -d "-" -f 4-)
docker run --rm --privileged --mount type=bind,src=$PWD,dst=/share --mount type=bind,src=/data,dst=/data --env-file env.list -e VERSION -e RELEASE -e EXTRA_NAME coderus/sailfishos-platform-sdk:$RELEASESDK /bin/bash -c "
/share/scripts/create-image.sh --release $RELEASE --version $VERSION ;"
Expand Down

0 comments on commit 819f938

Please sign in to comment.