Upgrade ke Jekyll 4.0.0
Posted on
Caraku upgrade:
cd /penyimpananBersama/nalakawula.github.io
rm -rf Gemfile.lock
gem update jekyll
bundle install
Perhatikan output berikut: {% raw %}
-------------------------------------------------------------------------------------
Jekyll 4.0 comes with some major changes, notably:
* Our `link` tag now comes with the `relative_url` filter incorporated into it.
You should no longer prepend `{{ site.baseurl }}` to `{% link foo.md %}`
For further details: https://github.com/jekyll/jekyll/pull/6727
* Our `post_url` tag now comes with the `relative_url` filter incorporated into it.
You shouldn't prepend `{{ site.baseurl }}` to `{% post_url 2019-03-27-hello %}`
For further details: https://github.com/jekyll/jekyll/pull/7589
* Support for deprecated configuration options has been removed. We will no longer
output a warning and gracefully assign their values to the newer counterparts
internally.
-------------------------------------------------------------------------------------
{% endraw %}
kemudian Aku search dan replace tag link
dan tag post_url
untuk menyesuaikan dengan keterangan tersebut. Selanjutnya kau tes di lokal pakai bundle exec jekyll serve
. Stelah oke baru deh push ke repo.
git add .
git commit -m "upgrade ke jekyll 4.0.0"
git push
Sisanya serahkan ke netlify, berikut contoh log-nya: {% raw %}
7:41:34 PM: Fetching gem metadata from https://rubygems.org/
7:41:34 PM: .
7:41:34 PM: Resolving dependencies...
7:41:34 PM: Using public_suffix 3.1.1
7:41:34 PM: Using addressable 2.6.0
7:41:34 PM: Using bundler 2.0.1
7:41:34 PM: Using colorator 1.1.0
7:41:34 PM: Using concurrent-ruby 1.1.5
7:41:34 PM: Using eventmachine 1.2.7
7:41:34 PM: Using http_parser.rb 0.6.0
7:41:34 PM: Using em-websocket 0.5.1
7:41:34 PM: Using ffi 1.11.1
7:41:34 PM: Using forwardable-extended 2.6.0
7:41:34 PM: Using i18n 1.6.0
7:41:34 PM: Fetching sassc 2.1.0 (x86_64-linux)
7:41:35 PM: Installing sassc 2.1.0 (x86_64-linux)
7:41:35 PM: Fetching jekyll-sass-converter 2.0.0
7:41:35 PM: Installing jekyll-sass-converter 2.0.0
7:41:35 PM: Using rb-fsevent 0.10.3
7:41:35 PM: Using rb-inotify 0.10.0
7:41:35 PM: Using ruby_dep 1.5.0
7:41:35 PM: Using listen 3.1.5
7:41:35 PM: Using jekyll-watch 2.2.1
7:41:35 PM: Using kramdown 2.1.0
7:41:35 PM: Using kramdown-parser-gfm 1.1.0
7:41:35 PM: Using liquid 4.0.3
7:41:35 PM: Using mercenary 0.3.6
7:41:35 PM: Using pathutil 0.16.2
7:41:35 PM: Fetching rouge 3.9.0
7:41:35 PM: Installing rouge 3.9.0
7:41:36 PM: Using safe_yaml 1.0.5
7:41:36 PM: Fetching unicode-display_width 1.6.0
7:41:36 PM: Installing unicode-display_width 1.6.0
7:41:36 PM: Fetching terminal-table 1.8.0
7:41:36 PM: Installing terminal-table 1.8.0
7:41:36 PM: Fetching jekyll 4.0.0
7:41:36 PM: Installing jekyll 4.0.0
7:41:36 PM: Using jekyll-archives 2.2.1
7:41:36 PM: Using jekyll-feed 0.12.1
7:41:36 PM: Using jekyll-paginate 1.1.0
7:41:36 PM: Using jekyll-seo-tag 2.6.1
7:41:36 PM: Using jekyll-sitemap 1.3.1
7:41:36 PM: Bundle complete! 7 Gemfile dependencies, 33 gems now installed.
7:41:36 PM: Bundled gems are installed into `/opt/build/cache/bundle`
7:41:36 PM: Post-install message from jekyll:
7:41:36 PM: -------------------------------------------------------------------------------------
7:41:36 PM: Jekyll 4.0 comes with some major changes, notably:
7:41:36 PM: * Our `link` tag now comes with the `relative_url` filter incorporated into it.
7:41:36 PM: You should no longer prepend `{{ site.baseurl }}` to `{% link foo.md %}`
7:41:36 PM: For further details: https://github.com/jekyll/jekyll/pull/6727
7:41:36 PM: * Our `post_url` tag now comes with the `relative_url` filter incorporated into it.
7:41:36 PM: You shouldn't prepend `{{ site.baseurl }}` to `{% post_url 2019-03-27-hello %}`
7:41:36 PM: For further details: https://github.com/jekyll/jekyll/pull/7589
7:41:36 PM: * Support for deprecated configuration options has been removed. We will no longer
7:41:36 PM: output a warning and gracefully assign their values to the newer counterparts
7:41:36 PM: internally.
7:41:36 PM: -------------------------------------------------------------------------------------
7:41:36 PM: Gem bundle installed
7:41:36 PM: Started restoring cached go cache
7:41:36 PM: Finished restoring cached go cache
7:41:36 PM: unset GOOS;
7:41:36 PM: unset GOARCH;
7:41:36 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.12.linux.amd64';
7:41:36 PM: export PATH="/opt/buildhome/.gimme/versions/go1.12.linux.amd64/bin:${PATH}";
7:41:36 PM: go version >&2;
7:41:36 PM: export GIMME_ENV='/opt/buildhome/.gimme/env/go1.12.linux.amd64.env';
7:41:36 PM: go version go1.12 linux/amd64
7:41:36 PM: Installing missing commands
7:41:36 PM: Verify run directory
7:41:36 PM: Executing user command: bundle exec jekyll build --config _config.sumarsono.com.yml
7:41:37 PM: Configuration file: /opt/build/repo/_config.sumarsono.com.yml
7:41:37 PM: Source: /opt/build/repo
7:41:37 PM: Destination: /opt/build/repo/_site
7:41:37 PM: Incremental build: disabled. Enable with --incremental
7:41:37 PM: Generating...
7:41:38 PM: Jekyll Feed: Generating feed for posts
7:41:40 PM: done in 2.796 seconds.
7:41:40 PM: Auto-regeneration: disabled. Use --watch to enable.
7:41:40 PM: Skipping functions preparation step: no functions directory set
7:41:40 PM: Caching artifacts
7:41:40 PM: Started saving ruby gems
7:41:40 PM: Finished saving ruby gems
7:41:40 PM: Started saving pip cache
7:41:40 PM: Finished saving pip cache
7:41:40 PM: Started saving emacs cask dependencies
7:41:40 PM: Finished saving emacs cask dependencies
7:41:40 PM: Started saving maven dependencies
7:41:40 PM: Finished saving maven dependencies
7:41:40 PM: Started saving boot dependencies
7:41:40 PM: Finished saving boot dependencies
7:41:40 PM: Started saving go dependencies
7:41:40 PM: Finished saving go dependencies
7:41:40 PM: Build script success
7:41:40 PM: Starting to deploy site from '_site'
7:41:40 PM: Creating deploy tree
7:41:41 PM: 134 new files to upload
7:41:41 PM: 0 new functions to upload
7:41:46 PM: Starting post processing
7:41:46 PM: Minifying bundle
7:41:49 PM: Minifying bundle
7:42:09 PM: Finished processing build request in 53.173578981s
7:42:18 PM: Post processing done
7:42:18 PM: Site is live
{% endraw %}
Selesai