-
Notifications
You must be signed in to change notification settings - Fork 12
Packages CI CD
Stanislav Osipov edited this page Aug 14, 2020
·
1 revision
Current workflow
- modifies/creates Draft release and modifies desired files (ex. package.json) -
push
,pull_request
- adds pulls request title contents to release description -
pull_request, types: [closed]
This workflow uses environment variables such as:
-
GH_API_TOKEN
(Github Api Token)
- Workflow
env:
functions:-
GET_LATEST_RELEASE_INFO
- Gets latest release info. SetsLATEST_RELEASE_TAG
andLATEST_RELEASE_DRAFT_STATUS
variables -
CHANGE_RELEASE_TAG_BY_ONE
- UpdatesLATEST_RELEASE_TAG
variable (X.Y.Z). Adds +1 to Z -
CREATE_NEW_DRAFT_RELEASE
- Creates new draft release, if latest release is not draft -
MODIFY_PACKAGE_JSON
- Modifies package json to be in sync with the latest draft release -
ADD_PULL_REQUEST_TITLE_CONTENTS
- Adds Pull Request title contents to latest draft release description
-
Reliable and high-quality Unity Development service. Let's Talk!
Website | AssetStore | LinkedIn | Youtube | Scripting Reference