Skip to content

Commit

Permalink
fix: templates using wrong config location
Browse files Browse the repository at this point in the history
  • Loading branch information
Yagnap committed Oct 9, 2024
1 parent 89eafbf commit 37639f2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ body:
- label: switch to master branch
- label: git pull
- label: '`npm install --include=dev && npm update`'
- label: '`cp js/config.dist.ts js/config/config.ts`'
- label: '`cp js/config/config.dist.ts js/config/config.ts`'
- label: change the version number in `package.json` and `js/browser/init.json` to the new release
- type: checkboxes
id: dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- name: Install
run: |
cp js/config.dist.ts js/config/config.ts
cp js/config/config.dist.ts js/config/config.ts
npm install --no-fund --ignore-scripts --no-audit
- name: Test
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.submodule
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN npm install --no-fund --ignore-scripts --no-audit
COPY graph graph
COPY .git .git
WORKDIR /src/graph
RUN cp js/config.dist.ts js/config/config.ts
RUN cp js/config/config.dist.ts js/config/config.ts
ARG SPARQL_ENDPOINT=https://www.snik.eu/sparql
RUN sed -i "s|https://www\.snik\.eu/sparql|${SPARQL_ENDPOINT}|" js/config/config.ts && \
npm run build && \
Expand Down
2 changes: 1 addition & 1 deletion releasechecklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Our releases have the form YY.MM with a corresponding milestone and git tag.
- [ ] switch to master branch
- [ ] git pull
- [ ] `npm install --include=dev && npm update`
- [ ] `cp js/config.dist.ts js/config/config.ts`
- [ ] `cp js/config/config.dist.ts js/config/config.ts`
- [ ] change the version number in `package.json` and `js/browser/init.json` to the new release

### Upgrade major dependency versions
Expand Down

0 comments on commit 37639f2

Please sign in to comment.