Skip to content

Commit

Permalink
CI: change bundles names
Browse files Browse the repository at this point in the history
  • Loading branch information
cipres authored and cipres committed Nov 19, 2020
1 parent 0a3d5d6 commit 0d99386
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/galacteek-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ jobs:
shell: bash

- name: Configure bundle(b)
if: startsWith( github.ref, 'refs/tags/releases/v')
if:
contains('
refs/heads/master
refs/tags/v
', github.ref)
run: |
echo "BUNDLE_ROOT=Galacteek-${G_VERSION}" >> $GITHUB_ENV
shell: bash
Expand All @@ -101,16 +105,14 @@ jobs:
- name: OS-specific vars (win)
if: startsWith(matrix.os, 'windows')
run: |
# We create 2 versions (one-file and zipped folder)
# We create 2 versions (one-file and installer)
echo "IPFS_DIST_OS=windows" >> $GITHUB_ENV
echo "BUNDLE_FILENAME=${BUNDLE_ROOT}-windows-x86_64.exe" >> $GITHUB_ENV
echo "BUNDLE_PATH=${GLK_ASSETS}/${BUNDLE_ROOT}-windows-x86_64.exe" >> $GITHUB_ENV
echo "BUNDLE_FILENAME=${BUNDLE_ROOT}-x86_64.exe" >> $GITHUB_ENV
echo "BUNDLE_PATH=${GLK_ASSETS}/${BUNDLE_ROOT}-x86_64.exe" >> $GITHUB_ENV
# echo "BUNDLE_EXTRA_FILENAME=${BUNDLE_ROOT}-windows-x86_64.zip" >> $GITHUB_ENV
# echo "BUNDLE_EXTRA_PATH=${GLK_ASSETS}/${BUNDLE_ROOT}-windows-x86_64.zip" >> $GITHUB_ENV
echo "BUNDLE_EXTRA_FILENAME=${BUNDLE_ROOT}-windows-x86_64-installer.exe" >> $GITHUB_ENV
echo "BUNDLE_EXTRA_PATH=${GLK_ASSETS}/${BUNDLE_ROOT}-windows-x86_64-installer.exe" >> $GITHUB_ENV
echo "BUNDLE_EXTRA_FILENAME=${BUNDLE_ROOT}-installer-x86_64.exe" >> $GITHUB_ENV
echo "BUNDLE_EXTRA_PATH=${GLK_ASSETS}/${BUNDLE_ROOT}-installer-x86_64.exe" >> $GITHUB_ENV
shell: bash

- name: Fetch IPFS dists
Expand Down Expand Up @@ -187,6 +189,7 @@ jobs:
run: |
pip install --upgrade pip
pip install wheel
pip install -r requirements-dev.txt
pip install -r requirements.txt
python setup.py build build_docs install
python setup.py sdist bdist_wheel
Expand Down

0 comments on commit 0d99386

Please sign in to comment.