Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Apps 9798 add publish job #238

Merged
merged 40 commits into from
Jul 20, 2021
Merged

Apps 9798 add publish job #238

merged 40 commits into from
Jul 20, 2021

Conversation

AlexeyCL
Copy link
Collaborator

@AlexeyCL AlexeyCL commented Jul 5, 2021

No description provided.

@AlexeyCL AlexeyCL requested review from FelixZilber and refael-m July 7, 2021 07:21
@@ -40,5 +34,36 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line 15, better to use actions/checkout@v2 as well

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

run: |
git config user.name ${{ secrets.USERNAME }}
git config user.email "${{ secrets.MAIL }}"
yarn release
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need a better name for this phase. it's not releasing a package at this point

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

yarn release

- name: push changes
run: git push --follow-tags origin HEAD
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use master instead of HEAD

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

token: ${{ secrets.NPM_TOKEN }}

slack_notification:
needs: [ release_package ]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be executed only in case of success. need to send a message also in case of failure

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@AlexeyCL AlexeyCL enabled auto-merge (squash) July 20, 2021 08:40
@AlexeyCL AlexeyCL merged commit 899c347 into master Jul 20, 2021
@AlexeyCL AlexeyCL deleted the APPS-9798-add-publish-job branch July 20, 2021 08:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants