Skip to content

Commit

Permalink
Updated config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lacymorrow committed Oct 26, 2023
1 parent 739d7aa commit d97224f
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ jobs:
- run:
name: Build and Publish - mac
command: yarn build:mac
- run:
name: Build and Publish - linux:rpm
command: yarn build:rpm
- run:
name: ls dist
command: ls dist
Expand All @@ -72,13 +75,7 @@ jobs:
git pull
git merge ${CIRCLE_BRANCH} || echo "Not merging to stable"
git push --set-upstream origin stable || echo "Not pushing stable"
- run:
name: Snapcraft Login
# Generate the snap token with 'snapcraft export-login --snaps crossover --channels edge,stable -'
command: echo "$SNAP_TOKEN" | snapcraft login --with -
- run:
name: Build and Publish - snap
command: yarn build:snap $( [ "$CIRCLE_BRANCH" == "release" ] && printf %s '--publish always' )
- run:
name: Create Artifacts
command: |
Expand All @@ -87,6 +84,13 @@ jobs:
cp /Users/distiller/project/dist/latest* /Users/distiller/project/upload
- store_artifacts:
path: /Users/distiller/project/upload
# - run:
# name: Snapcraft Login
# # Generate the snap token with 'snapcraft export-login --snaps crossover --channels edge,stable -'
# command: snapcraft login
- run:
name: Build and Publish - snap
command: yarn build:snap $( [ "$CIRCLE_BRANCH" == "release" ] && printf %s '--publish always' )

workflows:
# Below is the definition of your workflow.
Expand Down

0 comments on commit d97224f

Please sign in to comment.