You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Show branches/tags and checkout debian/upstream latest
99
+
working-directory: ./package-repo
91
100
run: |
92
-
cd ./package-repo
93
-
94
101
git branch
95
102
git tag
96
103
git checkout ${{inputs.debian-branch}}
@@ -102,18 +109,16 @@ jobs:
102
109
fi
103
110
104
111
- name: Make sure the upstream tag is not already part of the repo
112
+
working-directory: ./package-repo
105
113
run: |
106
-
cd ./package-repo
107
-
108
114
if (git tag --list | grep "${{inputs.upstream-tag}}"); then
109
115
echo "❌ The supplied upstream tag is wrong as it pertains to this repo already."
110
116
exit 1
111
117
fi
112
118
113
119
- name: Validate the upstream tag promotion state
120
+
working-directory: ./package-repo
114
121
run: |
115
-
cd ./package-repo
116
-
117
122
# Check if the upstream/<normalized_version> tag does not already exists
118
123
if ! git tag --list | grep "upstream/${{env.NORMALIZED_VERSION}}"; then
119
124
echo "✅ The upstream tag '${{inputs.upstream-tag}}' has not been promoted yet. Continuing."
@@ -136,7 +141,6 @@ jobs:
136
141
echo "ℹ️ This is likely a second attempt to promote the same upstream tag, where the first attempt already added the upstream tag in the upstram branch"
0 commit comments