Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
figma-icon-automation
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lift.hurley
figma-icon-automation
Commits
3f4d7e94
Commit
3f4d7e94
authored
Jun 21, 2020
by
leadream
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix webhook variables missing
parent
bd208eda
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
ui.html
dist/ui.html
+3
-2
ui.js
dist/ui.js
+3
-2
Updator.tsx
src/components/Updator.tsx
+3
-1
No files found.
dist/ui.html
View file @
3f4d7e94
This diff is collapsed.
Click to expand it.
dist/ui.js
View file @
3f4d7e94
This diff is collapsed.
Click to expand it.
src/components/Updator.tsx
View file @
3f4d7e94
...
...
@@ -109,6 +109,8 @@ export default class Settings extends React.Component<Props> {
await
this
.
changeVersion
(
branchName
)
const
{
html_url
}
=
await
this
.
createCommitAndPR
(
branchName
)
const
{
version
,
message
,
webhookData
}
=
this
.
state
this
.
setState
({
version
:
''
,
message
:
''
,
...
...
@@ -117,7 +119,7 @@ export default class Settings extends React.Component<Props> {
prUrl
:
html_url
})
cons
t
{
version
,
message
,
webhookData
}
=
this
.
state
cons
ole
.
log
(
version
,
message
)
if
(
webhookData
)
{
this
.
setState
({
isSending
:
true
})
await
sendNotification
(
webhookData
,
html_url
,
version
,
message
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment