File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,11 +124,11 @@ jobs:
124124 id : version
125125 run : |
126126 set -eux
127- VERSION=$(cat version.txt )
127+ VERSION=$(cat version)
128128 echo "version=${VERSION}" >> $GITHUB_OUTPUT
129129
130130 # Calculate snapshot version
131- versionhash=$(git log -n1 --pretty=format:%h version.txt )
131+ versionhash=$(git log -n1 --pretty=format:%h version)
132132 numcommits=$(git rev-list ${versionhash}..HEAD --count)
133133 SNAPSHOT="$(date +%Y%m%d).${numcommits}"
134134 echo "snapshot=${SNAPSHOT}" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change @@ -118,12 +118,12 @@ jobs:
118118 id : version
119119 run : |
120120 set -eux
121- VERSION=$(cat version.txt )
121+ VERSION=$(cat version)
122122 echo "version=${VERSION}" >> $GITHUB_OUTPUT
123123 git config --global --add safe.directory /__w/zoneminder/zoneminder
124124
125125 # Calculate snapshot version
126- versionhash=$(git log -n1 --pretty=format:%h version.txt )
126+ versionhash=$(git log -n1 --pretty=format:%h version)
127127 numcommits=$(git rev-list ${versionhash}..HEAD --count)
128128 SNAPSHOT="$(date +%Y%m%d).${numcommits}"
129129 echo "snapshot=${SNAPSHOT}" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments