Compare commits

..
4 Commits
4 changed files with 15 additions and 8 deletions
+7
View File
@@ -1,5 +1,12 @@
# Changelog
## [1.6.0](https://github.com/SethCohen/github-release-to-discord/compare/v1.5.0...v1.6.0) (2022-08-24)
### Features
* updated action description format ([7effb69](https://github.com/SethCohen/github-release-to-discord/commit/7effb69a75fd35dc53ea6dad5f3fa60cbd523ee7))
## [1.5.0](https://github.com/SethCohen/github-release-to-discord/compare/v1.4.0...v1.5.0) (2022-08-24)
+5 -5
View File
@@ -28,13 +28,13 @@ async function run () {
const content = await getContext()
const description = content.body
.replace(/## (.*?)\n/g,function (substring) {
const newString = substring.slice(3)
return `**${newString}**\n`
})
.replace(/### (.*?)\n/g,function (substring) {
const newString = substring.slice(4)
return `**__${newString}__**\n`
return `**__${newString}__**`
})
.replace(/## (.*?)\n/g,function (substring) {
const newString = substring.slice(3)
return `**${newString}**`
})
const embedMsg = {
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "github-release-to-discord",
"version": "1.5.0",
"version": "1.6.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "github-release-to-discord",
"version": "1.5.0",
"version": "1.6.0",
"license": "ISC",
"dependencies": {
"@actions/core": "^1.9.1",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "github-release-to-discord",
"version": "1.5.0",
"version": "1.6.0",
"description": "",
"main": "index.js",
"scripts": {