File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -98,10 +98,21 @@ jobs:
98
98
runs-on : ubuntu-latest
99
99
100
100
steps :
101
- - name : Extract version
101
+ - name : Checkout source
102
+ uses : actions/checkout@v3
103
+ with :
104
+ path : " app"
105
+
106
+ - name : Extract variables
102
107
run : |
103
108
echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV
104
109
110
+ # Get the tag's commit message
111
+ cd app/
112
+ CHANGELOG_MESSAGE=$(git show ${GITHUB_REF_NAME} --no-patch --pretty=format:%s)
113
+ echo "CHANGELOG_MESSAGE=${CHANGELOG_MESSAGE}" >> $GITHUB_ENV
114
+ echo $CHANGELOG_MESSAGE
115
+
105
116
- name : Create folder structure
106
117
run : |
107
118
mkdir gitmastery-${VERSION}
@@ -128,9 +139,6 @@ jobs:
128
139
# Create the debian folder
129
140
mkdir debian
130
141
131
- # Get the tag's commit message
132
- CHANGELOG_MESSAGE=$(git show ${VERSION} --no-patch --pretty=format:%s)
133
-
134
142
# Set the email and name in the changelog
135
143
# TODO: Update to something agnostic
136
144
EMAIL="woojiahao1234@gmail.com"
You can’t perform that action at this time.
0 commit comments