Skip to content

Commit cd02427

Browse files
authored
Merge pull request #2 from NarrativeScience/QUALITY-1522/exit-queue-on-fail
Exit Queue Bug Fix
2 parents 30bcd6b + 61d0e98 commit cd02427

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.DS_Store
22
orb.yml
3+
.idea

release.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
# Publishes and releases the version of the Orb to the CCI repo. Reads in Semantic version for the arg.
3+
# You must have a valid CCI token setup to run this script.
4+
5+
if [ $# -eq 0 ]
6+
then
7+
echo "The semantic version must be provided as an argument. I.E. '1.0.0'"
8+
else
9+
circleci config pack src > orb.yml
10+
circleci orb validate orb.yml
11+
circleci orb publish orb.yml "narrativescience/workflow-manager@$1"
12+
fi
13+

src/commands/exit-queue.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ parameters:
1818
steps:
1919
- attach_workspace:
2020
at: /tmp/workspace
21+
when: always
2122
- run:
2223
name: Set failure condition
2324
when: on_fail

0 commit comments

Comments
 (0)