File tree 3 files changed +509
-50
lines changed
3 files changed +509
-50
lines changed Original file line number Diff line number Diff line change 23
23
SVN_USERNAME : ${{ secrets.SVN_THEMEISLE_USERNAME }}
24
24
- name : Send update to the store
25
25
env :
26
- THEMEISLE_ID : ${{ secrets.THEMEISLE_ID }}
27
- THEMEISLE_AUTH : ${{ secrets.THEMEISLE_STORE_AUTH }}
26
+ PRODUCT_ID : ${{ secrets.THEMEISLE_ID }}
27
+ AUTH_TOKEN : ${{ secrets.THEMEISLE_STORE_AUTH }}
28
28
STORE_URL : ${{ secrets.THEMEISLE_STORE_URL }}
29
29
BUILD_VERSION : ${{ steps.get_version.outputs.VERSION }}
30
- run : |
31
- if [ ! -z "$THEMEISLE_ID" ]; then
32
- STORE_JSON='{"version": "'$BUILD_VERSION'","id": "'$THEMEISLE_ID'","body": ""}';
33
- echo "$STORE_JSON";
34
- curl -X POST -H 'Cache-Control: no-cache' -H "Content-Type: application/json" -H "x-themeisle-auth: $THEMEISLE_AUTH" --data "$STORE_JSON" "$STORE_URL/wp-json/edd-so/v1/update_changelog/" > /dev/null
35
- fi
30
+ GITHUB_TOKEN : ${{ secrets.BOT_TOKEN }}
31
+ uses : Codeinwp/action-store-release@main
Original file line number Diff line number Diff line change @@ -5,8 +5,10 @@ module.exports = function (grunt) {
5
5
'use strict' ;
6
6
grunt . initConfig ( {
7
7
wp_readme_to_markdown : {
8
- files : {
9
- 'readme.md' : 'readme.txt'
8
+ plugin : {
9
+ files : {
10
+ 'readme.md' : 'readme.txt'
11
+ } ,
10
12
} ,
11
13
} ,
12
14
version : {
@@ -37,4 +39,4 @@ module.exports = function (grunt) {
37
39
} ) ;
38
40
grunt . loadNpmTasks ( 'grunt-version' ) ;
39
41
grunt . loadNpmTasks ( 'grunt-wp-readme-to-markdown' ) ;
40
- } ;
42
+ } ;
You can’t perform that action at this time.
0 commit comments