Commit cdd15e0 1 parent b3898af commit cdd15e0 Copy full SHA for cdd15e0
File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 79
79
run : make gems
80
80
81
81
- name : Generate podspec
82
- run : make GIT_TAG=$GITHUB_REF generate-podspec
82
+ run : make generate-podspec
83
83
84
84
- name : Release on Github
85
85
uses : softprops/action-gh-release@v1
Original file line number Diff line number Diff line change @@ -17,11 +17,12 @@ LIB_ENVPLUGIN_DYLIB=$(EXECUTABLE_FOLDER)/$(LIB_ENVPLUGIN_DYLIB_NAME)
17
17
LIB_HCAPLUGIN_DYLIB =$(EXECUTABLE_FOLDER ) /$(LIB_HCAPLUGIN_DYLIB_NAME )
18
18
LIB_MEMPLUGIN_DYLIB =$(EXECUTABLE_FOLDER ) /$(LIB_MEMPLUGIN_DYLIB_NAME )
19
19
LICENSE_PATH ="$(shell pwd) /LICENSE.md"
20
+ GIT_CURRENT_TAG ="$(shell git describe --abbrev=0 --tags) "
20
21
21
22
define PODSPEC_CONTENTS
22
23
{
23
24
"name": "Fibs",
24
- "version": "$(GIT_TAG ) ",
25
+ "version": "$(GIT_CURRENT_TAG ) ",
25
26
"summary": "Mock endpoints & execute commands",
26
27
"description": "Library for mocking network traffic and executing shell commands locally from running app.",
27
28
"homepage": "https://github.com/appunite/fibs",
@@ -35,7 +36,7 @@ define PODSPEC_CONTENTS
35
36
},
36
37
"source": {
37
38
"git": "https://github.com/appunite/fibs",
38
- "tag": "$(GIT_TAG ) "
39
+ "tag": "$(GIT_CURRENT_TAG ) "
39
40
},
40
41
"preserve_paths": "*",
41
42
"exclude_files": "**/file.zip",
You can’t perform that action at this time.
0 commit comments