Skip to content

Commit fc76a36

Browse files
committed
port fixes to internal
1 parent 7d9117b commit fc76a36

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/internal_ant.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,12 @@ jobs:
143143
id: version
144144
run: |
145145
cd $GITHUB_WORKSPACE/josm/plugins/${{ inputs.plugin-directory }}
146-
if [ $GITHUB_REF_TYPE == "tag" ]; then
146+
if [ $GITHUB_REF_TYPE != "tag" ]; then
147147
version=$GITHUB_REF_NAME
148148
else
149149
version="$(git describe --tags --always --dirty --broken)"
150150
fi
151+
echo "Type $GITHUB_REF_TYPE Name $GITHUB_REF_NAME version ${version#v}"
151152
echo "version=${version#v}" >> $GITHUB_OUTPUT
152153
echo "plugin_directory=josm/plugins/${{ inputs.plugin-directory }}" >> $GITHUB_OUTPUT
153154

0 commit comments

Comments
 (0)