Skip to content

Commit 78e97e2

Browse files
committed
Update actions for automatic releases (#3788)
## Description #3784 added new release scripts, but there was a leftover workflow for releasing a commitly. This PR gets rid of it. I also noticed that the `homepage` field in package.json points to our readme instead of the docs, so I changed that. Finally, I added `paths` filter to the release workflow, so changes only affecting docs, example apps, or scripts won't trigger a release. ## Test plan The failed job got removed. As for the other change - https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#onpushpull_requestpull_request_targetpathspaths-ignore. > If you define both branches/branches-ignore and paths/paths-ignore, the workflow will only run when both filters are satisfied.
1 parent d6ad6c1 commit 78e97e2

File tree

3 files changed

+3
-23
lines changed

3 files changed

+3
-23
lines changed

.github/workflows/publish-commitly-release.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/publish-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- packages/react-native-gesture-handler/**
79
# For stable releases
810
workflow_dispatch:
911
inputs:

packages/react-native-gesture-handler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"bugs": {
7070
"url": "https://github.com/software-mansion/react-native-gesture-handler/issues"
7171
},
72-
"homepage": "https://github.com/software-mansion/react-native-gesture-handler#readme",
72+
"homepage": "https://docs.swmansion.com/react-native-gesture-handler/",
7373
"dependencies": {
7474
"@egjs/hammerjs": "^2.0.17",
7575
"hoist-non-react-statics": "^3.3.0",

0 commit comments

Comments
 (0)