-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(export): supprime la référence au submodule git des templates d'…
…export
- Loading branch information
1 parent
cee3d7d
commit 542e981
Showing
12 changed files
with
2,234 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,22 +13,20 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- run: | | ||
node -e "const pkg = require('./package.json'); pkg.version = '$RELEASE_VERSION'; require('fs').writeFileSync('./package.json', JSON.stringify(pkg, null, ' '), 'utf8')" | ||
node -e "const pkg = require('./front/package.json'); pkg.version = '$RELEASE_VERSION'; require('fs').writeFileSync('./front/package.json', JSON.stringify(pkg, null, ' '), 'utf8')" | ||
node -e "const pkg = require('./graphql/package.json'); pkg.version = '$RELEASE_VERSION'; require('fs').writeFileSync('./graphql/package.json', JSON.stringify(pkg, null, ' '), 'utf8')" | ||
npm i --package-lock-only | ||
npm i --prefix=graphql --package-lock-only | ||
npm i --prefix=front --package-lock-only | ||
RELEASE_GIT_NAME=$(curl -s https://api.github.com/users/$GITHUB_ACTOR | jq -r .name) | ||
[email protected] | ||
git config --local user.name "$RELEASE_GIT_NAME" | ||
git config --local user.email "$RELEASE_GIT_EMAIL" | ||
git commit -a -m "Release $RELEASE_VERSION" | ||
git tag "v$RELEASE_VERSION" | ||
git push origin master | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,14 +17,6 @@ First step is to clone the project, you can use either the HTTPS or SSH version | |
$ git clone [email protected]:EcrituresNumeriques/stylo.git | ||
|
||
|
||
Stylo uses submodules to pull templates (and those templates are hosted on framagit). | ||
If you have an account with ssh enabled on framagit, you can pull all submodules using the following commands: | ||
|
||
|
||
$ git submodule init | ||
$ git submodule update | ||
|
||
|
||
## Run with Docker | ||
|
||
Useful to run a fully fledged Stylo in no time. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule templates-stylo
deleted from
e5fb28
Oops, something went wrong.