Skip to content

CI: Use forward-slashes in paths (cross-platform) #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions script/vsts/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ jobs:
# This has to be done separately because VSTS inexplicably
# exits the script block after `npm install` completes.
- script: |
cd script\vsts
cd script/vsts
npm install
displayName: npm install
- script: node script\vsts\get-release-version.js --nightly
- script: node script/vsts/get-release-version.js --nightly
name: Version

# Import OS-specific build definitions
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
#This has to be done separately because VSTS inexplicably
#exits the script block after `npm install` completes.
- script: |
cd script\vsts
cd script/vsts
npm install
displayName: npm install

Expand All @@ -49,7 +49,7 @@ jobs:
displayName: Download Release Artifacts

- script: |
node $(Build.SourcesDirectory)\script\vsts\upload-artifacts.js --create-github-release --assets-path "$(System.ArtifactsDirectory)" --linux-repo-name "atom"
node $(Build.SourcesDirectory)/script/vsts/upload-artifacts.js --create-github-release --assets-path "$(System.ArtifactsDirectory)" --linux-repo-name "atom"
env:
GITHUB_TOKEN: $(GITHUB_TOKEN)
ATOM_RELEASE_VERSION: $(ReleaseVersion)
Expand Down
4 changes: 2 additions & 2 deletions script/vsts/pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
# This has to be done separately because VSTS inexplicably
# exits the script block after `npm install` completes.
- script: |
cd script\vsts
cd script/vsts
npm install
displayName: npm install
- script: node script\vsts\get-release-version.js
- script: node script/vsts/get-release-version.js
name: Version

# Import OS-specific build definitions
Expand Down
10 changes: 5 additions & 5 deletions script/vsts/release-branch-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
# This has to be done separately because VSTS inexplicably
# exits the script block after `npm install` completes.
- script: |
cd script\vsts
cd script/vsts
npm install
displayName: npm install
- script: node script\vsts\get-release-version.js
- script: node script/vsts/get-release-version.js
name: Version

# Import OS-specific build definitions.
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
# This has to be done separately because VSTS inexplicably
# exits the script block after `npm install` completes.
- script: |
cd script\vsts
cd script/vsts
npm install
env:
GITHUB_TOKEN: $(GITHUB_TOKEN)
Expand All @@ -57,7 +57,7 @@ jobs:
displayName: Download Release Artifacts

- script: |
node $(Build.SourcesDirectory)\script\vsts\upload-artifacts.js --create-github-release --assets-path "$(System.ArtifactsDirectory)" --linux-repo-name "atom-staging"
node $(Build.SourcesDirectory)/script/vsts/upload-artifacts.js --create-github-release --assets-path "$(System.ArtifactsDirectory)" --linux-repo-name "atom-staging"
env:
GITHUB_TOKEN: $(GITHUB_TOKEN)
ATOM_RELEASE_VERSION: $(ReleaseVersion)
Expand All @@ -69,7 +69,7 @@ jobs:
condition: and(succeeded(), eq(variables['Atom.AutoDraftRelease'], 'true'), eq(variables['IsReleaseBranch'], 'true'))

- script: |
node $(Build.SourcesDirectory)\script\vsts\upload-artifacts.js --assets-path "$(System.ArtifactsDirectory)" --s3-path "vsts-artifacts/$(Build.BuildId)/"
node $(Build.SourcesDirectory)/script/vsts/upload-artifacts.js --assets-path "$(System.ArtifactsDirectory)" --s3-path "vsts-artifacts/$(Build.BuildId)/"
env:
ATOM_RELEASE_VERSION: $(ReleaseVersion)
ATOM_RELEASES_S3_KEY: $(ATOM_RELEASES_S3_KEY)
Expand Down