File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 - name : Build a bottle using Homebrew
4949 run : |
5050 echo ${{ github.head_ref }}
51- NEW_VERSION=$(echo ${{ github.head_ref }} | sed 's/[^0-9.]*//g')"
51+ NEW_VERSION=$(echo ${{ github.head_ref }} | sed 's/[^0-9.]*//g')
5252 echo ${NEW_VERSION}
5353 brew tap piScope/twopi
5454 brew install -v piscope/twopi/test --build-bottle
Original file line number Diff line number Diff line change @@ -28,15 +28,16 @@ jobs:
2828 $(brew --prefix)/opt/Python@3/bin/pip3 install six matplotlib Pillow hgapi PyOpenGL netCDF4 h5py PyPDF2 pdfrw future
2929 - name : Build a bottle using Homebrew
3030 run : |
31+ echo ${{ github.head_ref }}
32+ NEW_VERSION=$(echo ${{ github.head_ref }} | sed 's/[^0-9.]*//g')
33+ echo ${NEW_VERSION}
3134 brew tap piScope/twopi
3235 brew install -v piscope/twopi/twopi --build-bottle
33- brew bottle piscope/twopi/twopi
36+ brew bottle --verbose --json piscope/twopi/test --root-url=https://github.com/piScope/homebrew-TwoPi/releases/download/TwoPi-${NEW_VERSION}
37+ ls *.bottle.json
38+ brew bottle --merge --write --no-commit ./$(ls *.bottle.json)
3439 ls -l
3540
36- - name : Extact Version String
37- run : |
38- echo "TAG_VERSION=$(echo ${{github.event.release.tag_name}} | sed 's/[^0-9.]*//g')" >> $GITHUB_ENV
39-
4041 - name : Upload bottles as artifact
4142 if : always() && github.event_name == 'pull_request'
4243 uses : actions/upload-artifact@main
You can’t perform that action at this time.
0 commit comments