We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e4b418 commit 81cb071Copy full SHA for 81cb071
.github/workflows/build.yml
@@ -22,6 +22,9 @@ jobs:
22
id: set_version
23
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
24
25
+ - name: Create version file
26
+ run: echo "${{ env.RELEASE_VERSION }}" > version
27
+
28
- name: Create distribution
29
run: |
30
mkdir temp_dist
@@ -31,14 +34,15 @@ jobs:
31
34
--exclude='.github' \
32
35
--exclude='temp_dist' \
33
36
. temp_dist/
37
+ cp version temp_dist/
38
39
- name: Create ZIP archive
40
41
cd temp_dist
42
zip -r ../wp-cli-sqlite-command-${{ env.RELEASE_VERSION }}.zip .
43
44
- name: Clean up
- run: rm -rf temp_dist
45
+ run: rm -rf temp_dist version
46
47
- name: Upload distribution as artifact
48
uses: actions/upload-artifact@v2
0 commit comments