aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-05-16 21:34:56 +0300
committerGitHub <noreply@github.com>2022-05-16 21:34:56 +0300
commitd0dd07007b4991a9e4b23da58f239422906596b8 (patch)
tree001a55dae02941a1ab157cb62c51ffc862999a4e
parenta7dc1749defe3b965051877e998bfc0a664059f6 (diff)
fix bug: Release pipeline (#15)
* fix bug * changing occurrences to src
-rw-r--r--.github/workflows/release-v1.yaml4
-rwxr-xr-xv1/combine-feature-fragments.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/release-v1.yaml b/.github/workflows/release-v1.yaml
index 8122f17..a0520db 100644
--- a/.github/workflows/release-v1.yaml
+++ b/.github/workflows/release-v1.yaml
@@ -16,7 +16,7 @@ jobs:
- name: Copy scripts to src folder
id: copy_scripts
- run: cp -r ./v1/install.sh ./v1/feature-scripts.env ./devcontainer-features.json ./collection
+ run: cp -r ./v1/install.sh ./v1/feature-scripts.env ./devcontainer-features.json ./src
- name: Debug Output
run: sudo apt install tree -y && tree
@@ -25,7 +25,7 @@ jobs:
uses: microsoft/publish-dev-container-features-action@main # devcontainers/action
with:
publish-features: "true"
- path-to-features: "./collection"
+ path-to-features: "./src"
publish-definitions: "false"
- uses: actions/upload-artifact@v3
diff --git a/v1/combine-feature-fragments.py b/v1/combine-feature-fragments.py
index bbc9913..39bc8d0 100755
--- a/v1/combine-feature-fragments.py
+++ b/v1/combine-feature-fragments.py
@@ -4,7 +4,7 @@
import os
-featureDirs = os.listdir('./collection')
+featureDirs = os.listdir('./src')
beginning = """
{
@@ -22,7 +22,7 @@ count = len(featureDirs)
for fDir in featureDirs:
count -= 1
- config = f'./collection/{fDir}/feature.json'
+ config = f'./src/{fDir}/feature.json'
data = open(config, "r").read()
middle += f'{data}'
if count != 0: