File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -84,12 +84,18 @@ jobs:
84
84
steps :
85
85
- uses : actions/checkout@v4
86
86
with :
87
+ fetch-depth : 99
87
88
path : src
88
89
- uses : actions/download-artifact@v4
89
90
with :
90
91
path : artifacts
91
92
- name : create package feed data
92
93
run : ./src/create-package-feeds.sh --artifacts-directory artifacts --deb-feed-path artifacts/deb-feed.tar.gz --win-feed-path artifacts/win-feed.tar.gz
94
+ - name : publish version artifact
95
+ uses : actions/upload-artifact@v4
96
+ with :
97
+ name : version.txt
98
+ path : artifacts/version.txt
93
99
- name : publish deb package feed artifact
94
100
uses : actions/upload-artifact@v4
95
101
with :
Original file line number Diff line number Diff line change @@ -77,5 +77,13 @@ cp $_SCRIPT_DIR/install.ps1 "$winPackagesDir"
77
77
# create archive of the entire thing
78
78
tar -zcf $WIN_FEED_PATH -C " $destination /" win
79
79
80
+ #
81
+ # version
82
+ #
83
+ pushd " $_SCRIPT_DIR /build"
84
+ VERSION=$( pwsh ./make-version.ps1 -suffix beta)
85
+ popd
86
+ echo " $VERSION " | tee $ARTIFACTS_DIRECTORY /version.txt
87
+
80
88
# clean up
81
89
rm -rf $destination
You can’t perform that action at this time.
0 commit comments